/* Opus Options Trading — marketing site.
   Dark-first, brand purple, no frameworks, no external requests. */

:root {
  --brand: #7c3aed;
  --brand-hot: #a855f7;
  --brand-soft: #a78bfa;
  --bg: #0b0716;
  --bg-2: #120b22;
  --card: rgba(255, 255, 255, 0.04);
  --card-border: rgba(167, 139, 250, 0.16);
  --text: #f5f3ff;
  --muted: #b6aed1;
  --faint: #7a7295;
  --gain: #34d399;
  --warn: #fbbf24;
  --loss: #f87171;
  --radius: 18px;
  --max: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
em { font-style: normal; color: var(--brand-soft); }

/* ── Nav ─────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 16px clamp(20px, 5vw, 48px);
  background: rgba(11, 7, 22, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(167, 139, 250, 0.08);
}
.logo { font-size: 19px; font-weight: 800; color: var(--brand-hot); letter-spacing: -0.02em; }
.logo span { color: var(--text); font-weight: 400; }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { color: var(--muted); font-size: 14px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
@media (max-width: 720px) { .nav-links { display: none; } .nav .btn-small { margin-left: auto; } }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-block; font-weight: 700; border-radius: 12px;
  padding: 14px 26px; font-size: 15px; transition: transform .15s, box-shadow .2s, background .2s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-hot) 100%);
  color: #fff;
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(124, 58, 237, 0.5); }
.btn-ghost {
  border: 1px solid var(--card-border); color: var(--text);
  background: var(--card);
}
.btn-ghost:hover { background: rgba(167, 139, 250, 0.1); }
.btn-small { padding: 9px 18px; font-size: 13px; background: linear-gradient(135deg, var(--brand), var(--brand-hot)); color: #fff; border-radius: 10px; }
.btn-big { padding: 18px 40px; font-size: 17px; }

/* ── Hero ────────────────────────────────────────────── */
.hero { position: relative; padding: clamp(60px, 10vh, 120px) clamp(20px, 5vw, 48px) 80px; }
.mesh {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.mesh::before, .mesh::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5;
}
.mesh::before {
  width: 560px; height: 560px; top: -180px; right: -80px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.55), transparent 65%);
  animation: drift 14s ease-in-out infinite alternate;
}
.mesh::after {
  width: 420px; height: 420px; bottom: -140px; left: -120px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.18), transparent 65%);
  animation: drift 18s ease-in-out infinite alternate-reverse;
}
@keyframes drift { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(-40px, 30px, 0) scale(1.15); } }

.hero-inner {
  position: relative; max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; } }

.eyebrow {
  color: var(--brand-soft); font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 18px;
}
h1 {
  font-size: clamp(2.3rem, 5.4vw, 3.9rem); line-height: 1.06;
  font-weight: 800; letter-spacing: -0.03em; margin-bottom: 22px;
}
.lede { color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.15rem); max-width: 34em; margin-bottom: 30px; }
.lede strong { color: var(--text); }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-row.center { justify-content: center; }
.fine { color: var(--faint); font-size: 12.5px; margin-top: 18px; }

/* ── Real app screenshots ────────────────────────────── */
.hero-shot, .app-shot { margin: 0; }
.hero-shot img, .app-shot img {
  display: block; width: 100%; height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(124, 58, 237, 0.1);
}
.hero-shot figcaption, .app-shot figcaption {
  color: var(--faint); font-size: 12px; margin-top: 14px; text-align: center; line-height: 1.5;
}
.hero-shot figcaption strong { color: var(--gain); }

/* ── Stats strip ─────────────────────────────────────── */
.stats {
  max-width: var(--max); margin: 0 auto; padding: 26px clamp(20px, 5vw, 48px);
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
  border-top: 1px solid rgba(167, 139, 250, 0.09);
  border-bottom: 1px solid rgba(167, 139, 250, 0.09);
}
@media (max-width: 820px) { .stats { grid-template-columns: repeat(2, 1fr); } .stats div:last-child { grid-column: span 2; } }
.stats div { display: flex; flex-direction: column; align-items: center; text-align: center; }
.stats strong { font-size: clamp(1.2rem, 2.4vw, 1.6rem); font-weight: 800; color: var(--brand-soft); }
.stats span { color: var(--faint); font-size: 12.5px; }

/* ── Feature sections ────────────────────────────────── */
.feature {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(60px, 9vh, 110px) clamp(20px, 5vw, 48px);
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.feature.flip { direction: rtl; }
.feature.flip > * { direction: ltr; }
@media (max-width: 900px) { .feature, .feature.flip { grid-template-columns: 1fr; direction: ltr; } }

h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px; }
.feature-copy > p { color: var(--muted); margin-bottom: 22px; max-width: 33em; }
.checks { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.checks li {
  color: var(--muted); font-size: 14.5px; padding-left: 30px; position: relative;
}
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--gain); font-weight: 800;
  width: 20px; height: 20px; border-radius: 6px;
  background: rgba(52, 211, 153, 0.12);
  display: grid; place-items: center; font-size: 12px;
}
.checks strong { color: var(--text); }

.visual-card {
  background: linear-gradient(160deg, rgba(255,255,255,0.055), rgba(255,255,255,0.02));
  border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 26px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}
.vc-title { font-weight: 800; font-size: 15px; display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.vc-badge {
  font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em;
  color: var(--brand-soft); background: rgba(124, 58, 237, 0.18); border-radius: 999px; padding: 4px 10px;
}
.vc-grade {
  margin-left: auto; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: #a3e635; color: #0b0716; font-weight: 900; font-size: 17px;
}
.vc-bar {
  display: flex; justify-content: space-between; align-items: center;
  background: linear-gradient(90deg, rgba(248,113,113,0.18), rgba(167,139,250,0.10), rgba(52,211,153,0.18));
  border-radius: 12px; padding: 14px 16px; font-size: 12px; font-weight: 700;
}
.vc-stop { color: var(--loss); }
.vc-entry { color: var(--faint); }
.vc-target { color: var(--gain); }
.vc-note { color: var(--faint); font-size: 12px; margin-top: 14px; }
.vc-scan-row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 11px 0; border-top: 1px solid rgba(167, 139, 250, 0.09);
  font-size: 13.5px;
}
.vc-scan-row em { color: var(--brand-soft); font-size: 12.5px; font-weight: 700; }
.vc-scan-row .vc-green { color: var(--gain); }
.vc-quote { font-size: 16px; font-style: italic; color: var(--text); margin-bottom: 10px; }
.vc-thesis { color: var(--gain); font-size: 13px; font-weight: 600; }

/* ── Pricing ─────────────────────────────────────────── */
.pricing {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(60px, 9vh, 110px) clamp(20px, 5vw, 48px);
  border-top: 1px solid rgba(167, 139, 250, 0.09);
}
.pricing-head { text-align: center; margin-bottom: 42px; }
.price-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); gap: 24px;
  justify-content: center;
}
@media (max-width: 760px) { .price-grid { grid-template-columns: 1fr; } }
.price-card {
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 30px;
  display: flex; flex-direction: column;
}
.price-card.featured {
  border-color: rgba(124, 58, 237, 0.5);
  box-shadow: 0 20px 60px rgba(124, 58, 237, 0.18);
}
.price-tier { font-weight: 800; font-size: 15px; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.price-when {
  font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em;
  color: var(--brand-soft); background: rgba(124, 58, 237, 0.18); border-radius: 999px; padding: 3px 9px;
}
.price-num { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.price-per { font-size: 16px; font-weight: 600; color: var(--muted); }
.price-sub { color: var(--faint); font-size: 13px; margin: 6px 0 18px; }
.price-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.price-list li {
  color: var(--muted); font-size: 13.5px; padding-left: 26px; position: relative;
}
.price-list li::before {
  content: "✓"; position: absolute; left: 0; color: var(--gain); font-weight: 800; font-size: 13px;
}
.price-btn { text-align: center; margin-top: auto; }
.fine.center { text-align: center; margin-top: 26px; }

/* ── People ──────────────────────────────────────────── */
.people {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(50px, 8vh, 90px) clamp(20px, 5vw, 48px);
  border-top: 1px solid rgba(167, 139, 250, 0.09);
}
.center { text-align: center; }
.people h2 { margin-bottom: 40px; }
.people .eyebrow { margin-bottom: 14px; }
.people-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 260px)); gap: 28px;
  justify-content: center;
}
@media (max-width: 720px) { .people-grid { grid-template-columns: 1fr; } }
.person {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: linear-gradient(160deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 28px 20px;
}
.avatar {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-hot));
  color: #fff; font-weight: 800; font-size: 20px; letter-spacing: 0.02em;
  margin-bottom: 12px;
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.35);
}
.person strong { font-size: 16px; }
.person-role { color: var(--faint); font-size: 12.5px; text-align: center; }

/* ── Mobile band / closer ────────────────────────────── */
.mobile-band, .closer {
  text-align: center; max-width: 760px; margin: 0 auto;
  padding: clamp(60px, 9vh, 100px) clamp(20px, 5vw, 48px);
}
.mobile-band { border-top: 1px solid rgba(167, 139, 250, 0.09); }
.mobile-band p, .closer p { color: var(--muted); margin: 14px auto 28px; max-width: 36em; }
.closer {
  background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.14), transparent 70%);
}

/* ── Footer ──────────────────────────────────────────── */
.footer {
  border-top: 1px solid rgba(167, 139, 250, 0.09);
  padding: 40px clamp(20px, 5vw, 48px) 60px;
  max-width: var(--max); margin: 0 auto;
}
.footer-brand { font-weight: 800; color: var(--brand-hot); margin-bottom: 12px; }
.footer-brand span { color: var(--text); font-weight: 400; }
.footer p { color: var(--faint); font-size: 12px; max-width: 62em; line-height: 1.7; }
.footer-links { margin-top: 14px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--text); }

/* ── Scroll reveal ───────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .mesh::before, .mesh::after { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
