:root {
  --bg: #0a0c12;
  --card: #12182a;
  --gold: #d4af37;
  --text: #e8eaf2;
  --muted: #8b90a5;
  --bull: #2ecc71;
  --bear: #e74c3c;
  --danger: #e74c3c;
  --logo-frame-mask: url('../assets/aura-logo-frame-mask.svg');
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: Inter, system-ui, sans-serif; background: var(--bg); color: var(--text); line-height: 1.5; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2rem; border-bottom: 1px solid rgba(212,175,55,.12);
  position: sticky; top: 0; background: rgba(10,12,18,.95); z-index: 100;
}
.logo, .nav-logo {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: 1.35rem; font-weight: 700; color: var(--gold); text-decoration: none;
}
.logo:has(.logo-img), .nav-logo:has(.logo-img) {
  font-size: 0; line-height: 0; color: transparent; gap: 0;
}
.logo:hover, .nav-logo:hover { text-decoration: none; opacity: .95; }
.logo span, .nav-logo span { color: var(--text); font-weight: 400; }
.logo-img {
  width: auto;
  height: 58px;
  max-height: 58px;
  max-width: min(200px, 46vw);
  flex-shrink: 0;
  display: block;
  object-fit: contain;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  /* Clip only the outer black square past the gold frame */
  -webkit-mask-image: var(--logo-frame-mask);
  mask-image: var(--logo-frame-mask);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.logo-img-square {
  width: 36px; height: 36px; max-width: 36px; border-radius: 8px;
}
.nav-links { display: flex; gap: 1.5rem; align-items: center; font-size: .9rem; }
.btn {
  display: inline-block; padding: .6rem 1.2rem; border-radius: 8px; font-weight: 600;
  font-size: .88rem; cursor: pointer; border: none; text-decoration: none;
  position: relative; z-index: 2; pointer-events: auto;
}
.btn:hover { text-decoration: none; opacity: .92; }
.btn-gold { background: var(--gold); color: #0a0c12; }
.btn-outline { border: 1px solid var(--gold); color: var(--gold); background: transparent; }
.nav-links a { position: relative; z-index: 2; pointer-events: auto; }
.file-mode-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: #922b21; color: #fff; padding: .75rem 1rem; text-align: center;
  font-size: .85rem; border-top: 2px solid var(--gold);
}
.file-mode-banner.hidden { display: none; }
.file-mode-banner a { color: #fff; text-decoration: underline; font-weight: 700; }
.wire-ok { color: var(--bull); font-weight: 600; }
.wire-fail { color: var(--bear); font-weight: 600; }
.wiring-strip {
  display: block; margin-top: .5rem; padding: .45rem .65rem; border-radius: 6px;
  font-size: .75rem; font-weight: 600;
}
.wiring-strip a { color: inherit; text-decoration: underline; }
.wiring-strip-ok { background: rgba(46,204,113,.12); border: 1px solid rgba(46,204,113,.35); color: var(--bull); }
.wiring-strip-fail { background: rgba(231,76,60,.12); border: 1px solid rgba(231,76,60,.35); color: var(--bear); }
.badge { font-size: .65rem; padding: .2rem .5rem; border-radius: 4px; background: var(--bull); color: #0a0c12; font-weight: 700; }
.badge-soon { background: var(--muted); color: #fff; }

.hero { text-align: center; padding: 4rem 1.5rem 3rem; max-width: 900px; margin: 0 auto; }
.hero-logo-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 1.25rem;
  width: min(320px, 88vw);
  aspect-ratio: 1;
}
.hero-logo-wrap::before {
  content: "";
  position: absolute;
  inset: 4%;
  border-radius: 14%;
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.08), transparent 72%);
  pointer-events: none;
}
.hero-logo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  display: block;
  object-fit: contain;
  border: none;
  box-shadow: none;
  background: transparent;
  -webkit-mask-image: var(--logo-frame-mask);
  mask-image: var(--logo-frame-mask);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  filter: drop-shadow(0 16px 40px rgba(212, 175, 55, 0.14));
}
.hero-logo-square {
  width: 140px; height: 140px; max-width: 140px; border-radius: 20px;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 1rem; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero p { color: var(--muted); font-size: 1.1rem; max-width: 640px; margin: 0 auto 1.5rem; }
.live-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem 1rem; border-radius: 999px; font-size: .8rem; font-weight: 600;
  background: #1a2030; border: 1px solid #333; margin-bottom: 1.5rem;
}
.live-pill.online { border-color: var(--bull); color: var(--bull); }
.live-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bull); animation: blink 1.5s infinite; }
@keyframes blink { 50% { opacity: .4; } }

.section { padding: 3rem 1.5rem; max-width: 1100px; margin: 0 auto; }
.section h2 { color: var(--gold); font-size: 1.5rem; margin-bottom: 1.5rem; text-align: center; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.card {
  background: var(--card); border: 1px solid rgba(212,175,55,.12);
  border-radius: 14px; padding: 1.25rem;
}
.card h3 { color: var(--gold); font-size: 1rem; margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .88rem; }

.platform-row { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-top: 1rem; }
.platform-box {
  flex: 1; min-width: 200px; max-width: 280px; text-align: center; padding: 1.5rem;
  background: var(--card); border-radius: 12px; border: 1px solid rgba(255,255,255,.08);
  text-decoration: none; color: inherit; display: block; cursor: pointer;
  position: relative; z-index: 2; pointer-events: auto;
  transition: border-color .2s, transform .15s, box-shadow .2s;
}
a.platform-box:hover {
  text-decoration: none; border-color: var(--gold);
  transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.platform-box h3 { color: var(--gold); }
.platform-box.active { border-color: var(--gold); }
.platform-box.soon { opacity: .85; }
.platform-box.soon:hover { opacity: 1; }
.platform-cta {
  display: block; margin-top: .75rem; font-size: .72rem; font-weight: 600;
  color: var(--gold); letter-spacing: .02em;
}

.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.price-card { text-align: center; padding: 2rem 1.25rem; }
.price-card.featured { border-color: var(--gold); box-shadow: 0 0 30px rgba(212,175,55,.15); }
.price { font-size: 2.5rem; font-weight: 700; color: var(--gold); }
.price span { font-size: 1rem; color: var(--muted); }
.price-card ul { list-style: none; margin: 1rem 0; text-align: left; font-size: .85rem; color: var(--muted); }
.price-card li { padding: .35rem 0; }
.price-card li::before { content: "✓ "; color: var(--bull); }

.cost-table { width: 100%; border-collapse: collapse; font-size: .88rem; margin-top: 1rem; }
.cost-table th, .cost-table td { border: 1px solid #2a3040; padding: .65rem; text-align: left; }
.cost-table th { color: var(--gold); background: #1a2030; }

.footer {
  text-align: center; padding: 2rem; color: var(--muted); font-size: .78rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
.edu-badge {
  display: inline-block; margin: .5rem 0 1rem; padding: .35rem .75rem;
  border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .02em;
  border: 1px solid rgba(212,175,55,.45); color: var(--gold); background: rgba(212,175,55,.08);
}
.edu-badge-center { display: block; width: fit-content; margin-left: auto; margin-right: auto; }
.trust-strip { padding-top: 1rem; padding-bottom: 1rem; }
.trust-statement {
  max-width: 820px; margin: 0 auto; text-align: center; font-size: .88rem;
  color: var(--muted); line-height: 1.6; padding: 1rem 1.25rem;
  border: 1px solid rgba(212,175,55,.15); border-radius: 12px; background: var(--card);
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 10000;
  background: var(--gold); color: #0a0c12; padding: .5rem 1rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9998;
  background: #12182a; border-top: 1px solid rgba(212,175,55,.25);
  padding: 1rem 1.25rem; font-size: .82rem; color: var(--muted);
}
.cookie-banner.hidden { display: none; }
.cookie-banner-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .75rem; }
.cookie-banner p { max-width: 900px; margin: 0 auto; text-align: center; }
.trust-page .card { margin-bottom: 1rem; }
.trust-page ul { color: var(--muted); font-size: .9rem; margin-left: 1.25rem; line-height: 1.7; }
.product-shot {
  border: 1px solid rgba(212,175,55,.2); border-radius: 12px; background: #0a0e14;
  padding: 1rem; margin: 1rem 0; text-align: center;
}
.product-shot iframe, .product-shot img { max-width: 100%; border-radius: 8px; }

/* Dashboard */
.dash-header { padding: 1rem 1.5rem; border-bottom: 1px solid rgba(212,175,55,.15); }
.dash-tabs { display: flex; gap: .5rem; flex-wrap: wrap; padding: 0 1.5rem; margin-top: .5rem; }
.dash-tabs button {
  background: transparent; border: 1px solid #333; color: var(--muted);
  padding: .45rem .9rem; border-radius: 8px; cursor: pointer; font-size: .82rem;
}
.dash-tabs button.active { border-color: var(--gold); color: var(--gold); }
.dash-panel { display: none; padding: 1rem 1.5rem 2rem; max-width: 1200px; margin: 0 auto; }
.dash-panel.active { display: block; }
.status-bar { display: inline-block; padding: .35rem .75rem; border-radius: 6px; font-size: .78rem; font-weight: 600; margin-top: .5rem; }
.status-bar.live { border: 1px solid var(--bull); color: var(--bull); }
.crash-banner { background: var(--danger); color: #fff; padding: .75rem; text-align: center; font-weight: 700; display: none; }
.crash-banner.show { display: block; }
.prob-row { display: flex; align-items: center; gap: .5rem; margin: .4rem 0; font-size: .85rem; }
.bar { flex: 1; height: 10px; background: #0a0e16; border-radius: 5px; overflow: hidden; }
.fill { height: 100%; transition: width .5s; }
.fill.bull { background: var(--bull); }
.fill.bear { background: var(--bear); }
.checklist { list-style: none; }
.checklist li.pass::before { content: "☑ "; color: var(--bull); }
.checklist li.fail::before { content: "☐ "; color: var(--bear); }
.feed-list { list-style: none; max-height: 320px; overflow-y: auto; font-size: .85rem; }
.feed-list li { padding: .6rem 0; border-bottom: 1px solid #222; }
.risk-high { color: var(--danger); font-weight: 600; font-size: .72rem; }
#chartCanvas { max-width: 100%; border: 1px solid #333; border-radius: 8px; background: #000; margin-top: .75rem; }
.journal-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: .5rem; margin-bottom: 1rem; }
.journal-form input, .journal-form select { padding: .45rem; background: #080c14; border: 1px solid #333; color: var(--text); border-radius: 6px; }

/* AuraFX Lite / signals preview */
.lite-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.25rem; align-items: start; }
.lite-panel-mock {
  background: #0a0e14; border: 1px solid rgba(212,175,55,.25); border-radius: 12px;
  padding: 1.25rem; font-family: ui-monospace, monospace; font-size: .85rem;
}
.lite-panel-title { color: var(--gold); font-weight: 700; letter-spacing: .12em; margin-bottom: .75rem; }
.lite-panel-row { margin: .35rem 0; }
.lite-panel-row.muted { color: var(--muted); }
.lite-panel-row.accent { color: var(--gold); font-size: .78rem; margin-top: .5rem; }
.lite-signal.buy { color: var(--bull); font-weight: 700; }
.lite-signal.sell { color: var(--bear); font-weight: 700; }
.lite-signal.cover { color: #5dade2; font-weight: 700; }
.lite-sig-btns { display: flex; gap: .5rem; margin-top: 1rem; flex-wrap: wrap; }
.lite-sig-btns .btn { flex: 1; min-width: 72px; text-align: center; }
.lite-btn-buy { background: rgba(46,204,113,.15); border: 1px solid var(--bull); color: var(--bull); }
.lite-btn-sell { background: rgba(231,76,60,.15); border: 1px solid var(--bear); color: var(--bear); }
.lite-btn-cover { background: rgba(93,173,226,.15); border: 1px solid #5dade2; color: #5dade2; }
.lite-sig-btns .btn.active { box-shadow: 0 0 12px rgba(212,175,55,.35); }
.lite-purpose { font-size: .78rem; color: var(--muted); margin-top: .75rem; }
.lite-explainer { list-style: none; font-size: .88rem; color: var(--muted); }
.lite-explainer li { padding: .4rem 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.lite-cta-card { display: block; text-decoration: none; color: inherit; transition: border-color .2s; }
.lite-cta-card:hover { border-color: var(--gold); text-decoration: none; }
