/* Joe Martelli — Wall Street Trader */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@700;800;900&display=swap');

:root {
  --bg: #05050a;
  --surface: #0a0a12;
  --card: #0e0e18;
  --card-hover: #12121e;
  --border: #161624;
  --border-light: #1f1f32;
  --gold: #b8963e;
  --gold-bright: #d4af5a;
  --gold-light: #e8d5a3;
  --gold-dim: rgba(184,150,62,.1);
  --gold-glow: rgba(184,150,62,.06);
  --green: #10b981;
  --red: #ef4444;
  --text: #e4e4ec;
  --text-secondary: #8e8ea0;
  --text-muted: #4a4a5c;
  --serif: 'Playfair Display', Georgia, serif;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --r: 4px;
  --max: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font); background: var(--bg); color: var(--text);
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(5,5,10,.92); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 56px;
}
.nav-logo {
  font-family: var(--serif); font-size: 20px; font-weight: 800;
  color: var(--gold); text-decoration: none; letter-spacing: -.5px;
}
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  color: var(--text-muted); text-decoration: none; font-size: 11px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase; transition: color .25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 22px; cursor: pointer; }

/* ── TICKER ── */
.ticker {
  position: fixed; top: 56px; left: 0; right: 0; z-index: 99;
  background: var(--surface); border-bottom: 1px solid var(--border);
  padding: 6px 0; overflow: hidden; white-space: nowrap;
}
.ticker-inner { display: flex; gap: 48px; animation: ticker 35s linear infinite; }
.ticker-item { font-size: 11px; font-weight: 600; letter-spacing: .5px; display: flex; gap: 6px; align-items: center; }
.ticker-item .sym { color: var(--text-muted); font-weight: 700; }
.ticker-item .up { color: var(--green); }
.ticker-item .down { color: var(--red); }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── HERO ── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 120px 24px 80px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 800px 600px at 30% 50%, rgba(184,150,62,.04) 0%, transparent 70%),
    radial-gradient(ellipse 500px 500px at 70% 30%, rgba(184,150,62,.02) 0%, transparent 60%);
}
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 200px;
  background: linear-gradient(transparent, var(--bg));
}
.hero-line {
  position: absolute; top: 0; bottom: 0; width: 1px; background: var(--border);
}
.hero-line:nth-child(1) { left: 20%; }
.hero-line:nth-child(2) { left: 40%; }
.hero-line:nth-child(3) { left: 60%; }
.hero-line:nth-child(4) { left: 80%; }
.hero-content {
  position: relative; z-index: 1; max-width: var(--max); width: 100%; margin: 0 auto;
}
.hero-identity {
  display: flex; align-items: center; gap: 20px; margin-bottom: 32px;
}
.hero-avatar {
  width: 56px; height: 56px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--border-light); filter: grayscale(.2) contrast(1.1);
}
.hero-identity .overline { margin-bottom: 0; }
.hero-text h1 {
  font-family: var(--serif); font-size: 80px; font-weight: 900;
  letter-spacing: -3px; line-height: .95; margin-bottom: 28px; color: #fff;
}
.hero-text h1 em { font-style: normal; color: var(--gold); }
.hero-text .tagline {
  font-size: 15px; color: var(--text-secondary); font-weight: 400; margin-bottom: 40px;
  line-height: 1.8; max-width: 580px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-metrics {
  display: flex; gap: 48px; margin-top: 64px; padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero-metric .val {
  font-family: var(--serif); font-size: 28px; font-weight: 800; color: #fff;
  letter-spacing: -1px;
}
.hero-metric .lbl {
  font-size: 10px; color: var(--text-muted); text-transform: uppercase;
  letter-spacing: 1.5px; font-weight: 700; margin-top: 2px;
}

/* ── SECTIONS ── */
section { padding: 100px 24px; }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head h2 {
  font-family: var(--serif); font-size: 40px; font-weight: 800;
  letter-spacing: -1px; line-height: 1.1; margin-bottom: 12px; color: #fff;
}
.section-head h2 em { font-style: normal; color: var(--gold); }
.section-head p { color: var(--text-secondary); font-size: 14px; max-width: 520px; line-height: 1.7; }
.section-head.center p { margin: 0 auto; }
.overline {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 3px;
  color: var(--gold); margin-bottom: 12px;
}
.section-dark { background: var(--surface); }

/* ── DIVIDER ── */
.divider {
  max-width: var(--max); margin: 0 auto; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

/* ── STATS ── */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border);
}
.stat {
  text-align: center; padding: 32px 16px; background: var(--card);
}
.stat .num {
  font-family: var(--serif); font-size: 36px; font-weight: 800;
  color: #fff; letter-spacing: -1px;
}
.stat .label {
  font-size: 10px; color: var(--text-muted); text-transform: uppercase;
  letter-spacing: 1.5px; margin-top: 4px; font-weight: 700;
}

/* ── CARDS ── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.card {
  background: var(--card); padding: 36px 28px; transition: background .25s;
}
.card:hover { background: var(--card-hover); }
.card .num {
  font-family: var(--serif); font-size: 48px; font-weight: 800;
  color: var(--gold-dim); line-height: 1; margin-bottom: 16px;
}
.card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; letter-spacing: -.2px; color: #fff; }
.card p { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }

/* ── VIDEO GRID ── */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.video-card {
  background: var(--card); border: 1px solid var(--border); overflow: hidden;
  transition: border-color .25s;
}
.video-card:hover { border-color: var(--border-light); }
.video-thumb {
  width: 100%; aspect-ratio: 16/9; background: var(--surface); display: flex;
  align-items: center; justify-content: center; border-bottom: 1px solid var(--border);
  position: relative;
}
.video-thumb .play {
  width: 48px; height: 48px; border-radius: 50%; background: rgba(184,150,62,.9);
  display: flex; align-items: center; justify-content: center;
  color: var(--bg); font-size: 16px; transition: transform .2s;
}
.video-card:hover .play { transform: scale(1.1); }
.video-info { padding: 14px 18px; }
.video-info h3 { font-size: 14px; font-weight: 600; margin-bottom: 3px; color: #fff; }
.video-info .meta { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; font-weight: 600; }

/* ── CERTIFICATES ── */
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.cert-card {
  background: var(--card); padding: 28px; transition: background .25s;
}
.cert-card:hover { background: var(--card-hover); }
.cert-card .cert-num {
  font-family: var(--serif); font-size: 14px; font-weight: 700; color: var(--gold);
  margin-bottom: 12px; letter-spacing: 1px;
}
.cert-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; color: #fff; }
.cert-card p { font-size: 12px; color: var(--text-secondary); line-height: 1.6; }
.cert-card .date {
  font-size: 10px; color: var(--text-muted); margin-top: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
}

/* ── TIERS ── */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.tier {
  background: var(--card); padding: 40px 28px; text-align: center;
  transition: background .25s; position: relative;
}
.tier:hover { background: var(--card-hover); }
.tier.featured::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
}
.tier .name {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px;
  color: var(--text-muted); margin-bottom: 12px;
}
.tier.featured .name { color: var(--gold); }
.tier .price {
  font-family: var(--serif); font-size: 48px; font-weight: 900;
  letter-spacing: -2px; margin-bottom: 4px; color: #fff;
}
.tier .price span { font-size: 16px; font-weight: 400; color: var(--text-muted); font-family: var(--font); }
.tier .period { font-size: 11px; color: var(--text-muted); margin-bottom: 24px; text-transform: uppercase; letter-spacing: .5px; font-weight: 600; }
.tier ul { list-style: none; text-align: left; margin-bottom: 28px; }
.tier li {
  font-size: 13px; padding: 8px 0; border-bottom: 1px solid var(--border);
  color: var(--text-secondary); display: flex; align-items: center; gap: 10px;
}
.tier li::before {
  content: ''; flex: 0 0 5px; height: 5px; border-radius: 50%;
  background: var(--gold); opacity: .6;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block; padding: 14px 32px; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px; text-decoration: none;
  transition: all .25s; cursor: pointer; border: none; font-family: var(--font);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  color: var(--bg);
}
.btn-gold:hover { box-shadow: 0 4px 24px rgba(184,150,62,.25); }
.btn-outline { background: transparent; border: 1px solid var(--border-light); color: var(--text-secondary); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ── ABOUT ── */
.about-header {
  display: flex; align-items: center; gap: 20px; margin-bottom: 48px;
}
.about-header img {
  width: 72px; height: 72px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--border-light); filter: grayscale(.2) contrast(1.1);
}
.about-header div h2 {
  font-family: var(--serif); font-size: 24px; font-weight: 800; color: #fff;
  letter-spacing: -.5px;
}
.about-header div p { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.about-body { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.about-text h3 {
  font-family: var(--serif); font-size: 18px; font-weight: 700;
  margin: 0 0 8px; color: #fff;
}
.about-text p { font-size: 13px; color: var(--text-secondary); line-height: 1.8; }
.about-block { margin-bottom: 32px; }
.about-block:last-child { margin-bottom: 0; }

/* ── PAGE HEADER ── */
.page-header {
  padding: 130px 24px 48px;
  background: linear-gradient(180deg, rgba(184,150,62,.02) 0%, var(--bg) 100%);
  position: relative;
}
.page-header .section-inner { max-width: var(--max); margin: 0 auto; }
.page-header h1 {
  font-family: var(--serif); font-size: 48px; font-weight: 900;
  letter-spacing: -1.5px; margin-bottom: 8px; color: #fff;
}
.page-header h1 em { font-style: normal; color: var(--gold); }
.page-header p { color: var(--text-secondary); font-size: 14px; }

/* ── CONTACT FORM ── */
.contact-form-wrap {
  max-width: 560px; margin: 0 auto; background: var(--card);
  border: 1px solid var(--border); padding: 36px; position: relative;
}
.contact-form-wrap::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--gold);
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font); font-size: 13px; padding: 12px 14px;
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  outline: none; transition: border-color .2s; resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group select { cursor: pointer; -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 5l3 3 3-3' stroke='%234a4a5c' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 36px;
}
.form-group select option { background: var(--surface); color: var(--text); }

/* ── TRUST BAR ── */
.trust-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border);
}
.trust-item {
  background: var(--card); padding: 24px 20px; text-align: center;
}
.trust-num {
  font-family: var(--serif); font-size: 28px; font-weight: 800; color: var(--gold);
  letter-spacing: -1px; line-height: 1;
}
.trust-lbl {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
  color: #fff; margin-top: 4px;
}
.trust-desc {
  font-size: 11px; color: var(--text-muted); margin-top: 4px; line-height: 1.4;
}

/* ── PROCESS STEPS ── */
.process-steps { display: flex; flex-direction: column; gap: 0; }
.process-step {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 24px 0; border-bottom: 1px solid var(--border);
}
.process-step:last-child { border-bottom: none; }
.step-num {
  flex: 0 0 48px; font-family: var(--serif); font-size: 24px; font-weight: 800;
  color: var(--gold-dim); line-height: 1;
}
.step-content h3 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.step-content p { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }

/* ── TIMELINE ── */
.timeline { position: relative; padding-left: 80px; }
.timeline::before {
  content: ''; position: absolute; left: 68px; top: 8px; bottom: 8px;
  width: 1px; background: var(--border);
}
.tl-item {
  position: relative; padding: 12px 0 12px 24px;
}
.tl-time {
  position: absolute; left: -80px; top: 12px; width: 56px; text-align: right;
  font-size: 13px; font-weight: 700; color: var(--gold); font-variant-numeric: tabular-nums;
}
.tl-dot {
  position: absolute; left: -4px; top: 18px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--gold); border: 2px solid var(--bg);
}
.tl-text { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* ── SENTIMENT ── */
.sentiment-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1px;
  background: var(--border); border: 1px solid var(--border);
}
.sentiment-item {
  background: var(--card); padding: 20px; text-align: center;
}
.sentiment-pair {
  font-size: 12px; font-weight: 700; color: #fff; letter-spacing: .5px;
  text-transform: uppercase; margin-bottom: 8px;
}
.sentiment-bar {
  height: 4px; border-radius: 2px; background: var(--border-light);
  overflow: hidden; margin-bottom: 6px;
}
.sentiment-fill {
  height: 100%; border-radius: 2px; transition: width .3s;
}
.sentiment-fill.bull { background: var(--green); }
.sentiment-fill.bear { background: var(--red); }
.sentiment-labels {
  display: flex; justify-content: space-between; font-size: 10px; font-weight: 700;
  letter-spacing: .5px;
}
.sentiment-labels .bull { color: var(--green); }
.sentiment-labels .bear { color: var(--red); }

/* ── NEWS FEED ── */
.news-feed { border: 1px solid var(--border); }
.news-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px 20px; border-bottom: 1px solid var(--border);
  background: var(--card); transition: background .2s;
}
.news-item:last-child { border-bottom: none; }
.news-item:hover { background: var(--card-hover); }
.news-time {
  flex: 0 0 48px; font-size: 11px; font-weight: 700; color: var(--text-muted);
  font-variant-numeric: tabular-nums; padding-top: 2px;
}
.news-body h4 { font-size: 13px; font-weight: 600; color: #fff; margin-bottom: 2px; line-height: 1.4; }
.news-body p { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.news-tag {
  display: inline-block; font-size: 9px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .8px; padding: 2px 8px; border-radius: 2px; margin-top: 4px;
}
.news-tag.high { background: rgba(239,68,68,.15); color: var(--red); }
.news-tag.medium { background: rgba(184,150,62,.15); color: var(--gold); }
.news-tag.low { background: rgba(74,74,92,.3); color: var(--text-muted); }

/* ── INDICATORS ── */
.indicator-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1px;
  background: var(--border); border: 1px solid var(--border);
}
.indicator-card {
  background: var(--card); padding: 24px; transition: background .2s;
}
.indicator-card:hover { background: var(--card-hover); }
.indicator-card .ind-name {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--text-muted); margin-bottom: 8px;
}
.indicator-card .ind-value {
  font-family: var(--serif); font-size: 24px; font-weight: 800; color: #fff;
  letter-spacing: -1px;
}
.indicator-card .ind-signal {
  display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; margin-top: 6px; padding: 2px 10px; border-radius: 2px;
}
.ind-signal.buy { background: rgba(16,185,129,.15); color: var(--green); }
.ind-signal.sell { background: rgba(239,68,68,.15); color: var(--red); }
.ind-signal.neutral { background: rgba(74,74,92,.3); color: var(--text-muted); }

/* ── SESSION CLOCK ── */
.session-clock {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border);
}
.session {
  background: var(--card); padding: 24px; text-align: center; transition: background .3s;
}
.session.open { background: var(--card-hover); }
.ses-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--text-muted);
  margin: 0 auto 10px; transition: background .3s, box-shadow .3s;
}
.session.open .ses-dot { background: var(--green); box-shadow: 0 0 8px rgba(16,185,129,.5); }
.ses-name { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.ses-hours { font-size: 11px; color: var(--text-muted); font-variant-numeric: tabular-nums; margin-bottom: 6px; }
.ses-status { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }
.session.open .ses-status { color: var(--green); }

/* ── SIGNUP ── */
.signup-box { max-width: 480px; margin: 0 auto; }
.signup-form {
  display: flex; gap: 0; border: 1px solid var(--border);
}
.signup-form input {
  flex: 1; padding: 14px 16px; font-size: 13px; font-family: var(--font);
  background: var(--card); border: none; color: var(--text); outline: none;
}
.signup-form input::placeholder { color: var(--text-muted); }
.signup-form .btn { border-radius: 0; white-space: nowrap; }
.signup-msg {
  text-align: center; margin-top: 8px; font-size: 12px; min-height: 18px;
}
.signup-msg.ok { color: var(--green); }
.signup-msg.err { color: var(--red); }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border); padding: 32px 24px;
  display: flex; justify-content: space-between; align-items: center;
  max-width: var(--max); margin: 0 auto;
  font-size: 11px; color: var(--text-muted); letter-spacing: .5px;
}
.footer a { color: var(--text-muted); text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--gold); }
.footer-links { display: flex; gap: 20px; }

/* ── MOBILE ── */
@media (max-width: 768px) {
  .nav-links {
    display: none; position: fixed; top: 56px; left: 0; right: 0; bottom: 0;
    background: var(--bg); flex-direction: column; padding: 32px 24px; gap: 20px;
    border-top: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .ticker { top: 56px; }
  .hero { padding-top: 140px; }
  .hero-text h1 { font-size: 44px; letter-spacing: -1.5px; }
  .hero-metrics { flex-wrap: wrap; gap: 24px; }
  .session-clock { grid-template-columns: repeat(2, 1fr); }
  .trust-bar { grid-template-columns: repeat(2, 1fr); }
  .signup-form { flex-direction: column; }
  .signup-form .btn { text-align: center; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr; }
  .sentiment-grid { grid-template-columns: repeat(2, 1fr); }
  .indicator-grid { grid-template-columns: 1fr; }
  .timeline { padding-left: 64px; }
  .timeline::before { left: 52px; }
  .tl-time { left: -64px; width: 40px; }
  .about-body { grid-template-columns: 1fr; }
  .section-head h2 { font-size: 32px; }
  .tier-grid { grid-template-columns: 1fr; }
  .page-header h1 { font-size: 36px; }
  .footer { flex-direction: column; gap: 12px; text-align: center; }
  .contact-form-wrap { padding: 24px; }
}
