/* ATM — premium landing mockup. Original design; structure inspired by
   top EA / TradingView seller sites, not copied. */
:root {
  --bg: #0b0d11;
  --bg-elev: #12151c;
  --bg-card: #171b24;
  --bg-soft: #1c212c;
  --line: rgba(232, 210, 154, 0.14);
  --line-strong: rgba(232, 210, 154, 0.28);
  --gold: #d4b06a;
  --gold-2: #f0d9a0;
  --gold-dim: #8d7340;
  --text: #efece6;
  --muted: #9b968b;
  --faint: #6e6a62;
  --ok: #8fb896;
  --warn: #c9a15a;
  --danger: #c9897a;
  --demo: #e2b14a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --max: 1160px;
  --nav-h: 72px;
  --font: "IBM Plex Sans", "Segoe UI", sans-serif;
  --serif: "Fraunces", "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-2); }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

/* Promo */
.promo {
  background: linear-gradient(90deg, #1a150c, #2a2213 40%, #1a150c);
  border-bottom: 1px solid var(--line);
  color: var(--gold-2);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 10px 16px;
}
.promo strong { color: #fff; font-weight: 600; }
.promo code {
  font-family: var(--mono);
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--line-strong);
  padding: 1px 7px;
  border-radius: 6px;
  color: var(--gold-2);
  font-size: 12px;
}

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 40;
  height: var(--nav-h);
  background: rgba(11, 13, 17, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--text); font-weight: 600; letter-spacing: 0.16em;
  font-size: 15px;
}
.brand:hover { color: var(--gold-2); }
.mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: radial-gradient(circle at 30% 25%, #2a2418, #0e0f12 70%);
  border: 1px solid var(--gold);
  display: grid; place-items: center;
  color: var(--gold-2);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.04em;
}
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: var(--muted); font-size: 14px; }
.nav-links a:hover { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 560;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.15s ease;
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(180deg, #e8c98a, #c9a45a);
  color: #16130c;
  box-shadow: 0 8px 24px rgba(201, 164, 90, 0.25);
}
.btn-gold:hover { color: #16130c; filter: brightness(1.06); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-sm { padding: 9px 16px; font-size: 13px; }

/* Hero */
.hero {
  position: relative;
  padding: 72px 0 40px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 520px;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(212, 176, 106, 0.16), transparent 50%),
    radial-gradient(ellipse at 85% 20%, rgba(90, 110, 160, 0.12), transparent 45%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px; background: var(--gold);
}
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 16px; }
h1 { font-size: clamp(36px, 5vw, 58px); }
h2 { font-size: clamp(28px, 3.4vw, 40px); }
h3 { font-size: 22px; margin-bottom: 8px; }
.lede { font-size: 18px; color: var(--muted); max-width: 36em; margin: 0 0 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-notes {
  display: flex; flex-wrap: wrap; gap: 10px 18px;
  color: var(--faint); font-size: 13px;
}
.hero-notes span { display: inline-flex; align-items: center; gap: 6px; }
.hero-notes span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-dim); }

.hero-visual {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #0e1116;
}
.hero-visual img { width: 100%; aspect-ratio: 16/9; object-fit: cover; object-position: top; }
.hero-visual figcaption {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(11,13,17,0.82);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.04em;
  padding: 6px 10px;
  border-radius: 8px;
}

/* Fact strip */
.facts {
  padding: 10px 0 64px;
}
.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.fact {
  background: var(--bg-elev);
  padding: 22px 20px;
}
.fact b { display: block; color: var(--gold-2); font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.fact span { color: var(--muted); font-size: 13px; }

/* Sections */
section { padding: 72px 0; }
.section-kicker {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 10px;
}
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head p { color: var(--muted); margin: 0; }

/* Results */
.results { background: linear-gradient(180deg, #0b0d11, #10131a 40%, #0b0d11); }
.demo-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.demo-top {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 22px;
}
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 5px 9px;
  border-radius: 6px;
}
.badge-demo {
  background: rgba(226, 177, 74, 0.14);
  color: var(--demo);
  border: 1px solid rgba(226, 177, 74, 0.35);
}
.badge-hypo {
  background: rgba(155, 150, 139, 0.1);
  color: var(--muted);
  border: 1px solid var(--line);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}
.stat {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 14px;
}
.stat .label { color: var(--faint); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.stat .value {
  font-family: var(--mono);
  font-size: 26px;
  color: var(--gold-2);
  margin-top: 6px;
  letter-spacing: -0.03em;
}
.stat .sub { color: var(--muted); font-size: 12px; margin-top: 4px; }
.demo-meta { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.demo-note {
  font-size: 13px;
  color: var(--faint);
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin: 0;
}
.backtests { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bt {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
}
.bt h3 { font-size: 18px; }
.bt ul { margin: 12px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.bt li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.bt li:last-child { border-bottom: 0; }
.bt li b { color: var(--text); font-weight: 500; font-family: var(--mono); font-size: 13px; }
.bt .src { margin-top: 12px; font-size: 12px; color: var(--faint); }

/* Products */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card img { width: 100%; height: 180px; object-fit: cover; object-position: top; background: #0e1116; }
.card-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.tag {
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--line-strong);
  border-radius: 999px; padding: 3px 8px;
}
.card p { color: var(--muted); font-size: 14px; margin: 0 0 16px; flex: 1; }
.price-line { display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; }
.price-line .amt { font-family: var(--mono); font-size: 22px; color: var(--gold-2); }
.price-line .per { color: var(--faint); font-size: 13px; }
.price-line .from { color: var(--muted); font-size: 12px; }
.plans { color: var(--faint); font-size: 12px; margin-bottom: 14px; font-family: var(--mono); }

.trial-band {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-card);
}
.trial-band img { width: 100%; height: 100%; object-fit: cover; min-height: 200px; }
.trial-copy { padding: 28px; display: flex; flex-direction: column; justify-content: center; }
.trial-copy p { color: var(--muted); margin: 0 0 18px; }

/* Pricing table */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-card);
}
table.pricing { width: 100%; border-collapse: collapse; min-width: 680px; }
table.pricing th, table.pricing td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
table.pricing th {
  color: var(--faint);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--bg-elev);
}
table.pricing td { color: var(--muted); }
table.pricing td.prod { color: var(--text); font-weight: 560; }
table.pricing td.num { font-family: var(--mono); color: var(--text); }
table.pricing .hi { background: rgba(212, 176, 106, 0.07); }
table.pricing tr:last-child td { border-bottom: 0; }
.caption { color: var(--faint); font-size: 13px; margin-top: 12px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}
.num {
  font-family: var(--mono);
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
}
.step p { color: var(--muted); margin: 0; font-size: 14px; }

/* FAQ */
.faq { display: grid; gap: 10px; }
details {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 20px;
}
summary {
  cursor: pointer;
  font-weight: 560;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--gold); font-family: var(--mono); font-size: 18px; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 12px 0 0; font-size: 15px; }

/* Risk / footer */
.risk {
  background: #0e1015;
  border-top: 1px solid var(--line);
  padding: 48px 0 28px;
}
.risk h2 { font-size: 22px; }
.risk p, .risk li { color: var(--faint); font-size: 13px; line-height: 1.7; }
.risk ul { padding-left: 18px; }
footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 48px;
  color: var(--faint);
  font-size: 13px;
}
.foot {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  align-items: center;
}
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); }

/* Mobile nav */
.nav-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 22px; }

@media (max-width: 900px) {
  .hero-grid, .products-grid, .facts-grid, .stats, .backtests, .steps, .trial-band {
    grid-template-columns: 1fr;
  }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(var(--nav-h) + 36px);
    left: 0; right: 0;
    background: #12151c;
    border-bottom: 1px solid var(--line);
    padding: 16px 20px 20px;
    align-items: flex-start;
    z-index: 50;
  }
  .nav-toggle { display: block; }
  .hero { padding-top: 44px; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  section { padding: 56px 0; }
}
@media (max-width: 560px) {
  .facts-grid { grid-template-columns: 1fr; }
  .promo { font-size: 12px; }
}

/* Brand full name, attestation, contact form, disabled CTAs */
.brand { letter-spacing: 0; min-width: 0; }
.brand-fullname {
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.02em;
  line-height: 1.25;
  color: var(--text);
  white-space: normal;
  max-width: 11.5rem;
}
.btn.is-disabled,
a.btn[aria-disabled="true"] {
  opacity: 0.45;
  filter: grayscale(0.25);
  cursor: not-allowed;
  pointer-events: auto;
  box-shadow: none;
}
.btn.is-disabled:hover,
a.btn[aria-disabled="true"]:hover { filter: grayscale(0.25); }
.attest {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  cursor: pointer;
}
.attest input { margin-top: 3px; flex: none; accent-color: var(--gold); }
.attest-block { max-width: 48rem; }
.pricing-ctas { margin-top: 4px; }
.faq-steps { margin: 8px 0 10px 1.2rem; color: var(--muted); }
.faq-steps li { margin: 6px 0; }
.contact-form {
  max-width: 720px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,0.02);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--text);
  font-weight: 560;
}
.contact-form .req, .contact-form .opt {
  font-weight: 400;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-left: 6px;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  background: #0b0c10;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  padding: 10px 12px;
  font: inherit;
  font-weight: 400;
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form .span-2 { grid-column: 1 / -1; }
.contact-form .honey {
  position: absolute;
  left: -9999px;
  height: 0;
  width: 0;
  opacity: 0;
}
.form-status { min-height: 1.4em; margin: 12px 0 0; color: var(--gold-2); font-size: 13px; }
@media (max-width: 700px) {
  .form-grid { grid-template-columns: 1fr; }
  .contact-form .span-2 { grid-column: auto; }
  .brand-fullname { font-size: 11px; max-width: 7.5rem; }
}
