/* ── TradersAbyss Feature Pages — Shared Styles ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent:  #C8920A;
  --accent2: #a87408;
  --bg:      #000000;
  --bg2:     #0d0d0d;
  --bg3:     #141414;
  --border:  #222222;
  --text:    #e8eaf0;
  --muted:   #ffffff;
  --green:   #22c55e;
  --red:     #ef4444;
  --blue:    #38bdf8;
  --radius:  12px;
  /* Dashboard mockup colors */
  --d-bg:    #0f1117;
  --d-bg2:   #1e2025;
  --d-bg3:   #262830;
  --d-border:#2a2d3a;
  --d-accent:#38bdf8;
  --d-text:  #e8eaf0;
  --d-muted: #8b8fa8;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }

/* ── NAV ── */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 16px 48px; background: rgba(0,0,0,0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 15px; letter-spacing: -0.3px; color: var(--text); }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { font-size: 14px; color: var(--muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { background: var(--accent); color: #000; padding: 8px 20px; border-radius: 8px; font-weight: 700; font-size: 13px; transition: background 0.2s; }
.nav-cta:hover { background: var(--accent2); color: #000; }

/* ── BREADCRUMB ── */
.breadcrumb { padding: 100px 48px 0; max-width: 1100px; margin: 0 auto; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--border); }
.breadcrumb .current { color: var(--text); }

/* ── HERO ── */
.feat-hero { padding: 40px 48px 60px; max-width: 1100px; margin: 0 auto; }
.feat-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--accent); margin-bottom: 16px; }
.feat-title { font-size: clamp(36px, 5vw, 56px); font-weight: 800; letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 20px; }
.feat-title span { color: var(--accent); }
.feat-sub { font-size: 18px; color: var(--muted); max-width: 600px; line-height: 1.7; margin-bottom: 32px; }
.feat-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.feat-tag { background: rgba(200,146,10,0.1); border: 1px solid rgba(200,146,10,0.25); color: var(--accent); font-size: 12px; font-weight: 600; padding: 5px 14px; border-radius: 20px; }
.feat-cta { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #000; padding: 14px 28px; border-radius: 10px; font-weight: 700; font-size: 15px; transition: background 0.2s, transform 0.15s; }
.feat-cta:hover { background: var(--accent2); color: #000; transform: translateY(-1px); }

/* ── MAIN MOCKUP ── */
.main-mockup-wrap { background: linear-gradient(180deg, var(--bg3) 0%, var(--bg) 100%); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 48px 48px 0; }
.main-mockup-inner { max-width: 1100px; margin: 0 auto; }

/* ── FEATURE SECTIONS ── */
.feat-section { padding: 80px 48px; max-width: 1100px; margin: 0 auto; }
.feat-section.alt { background: var(--bg2); border-radius: 24px; }
.feat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feat-row.flip { direction: rtl; }
.feat-row.flip > * { direction: ltr; }
.feat-copy h2 { font-size: 32px; font-weight: 800; letter-spacing: -0.8px; margin-bottom: 16px; line-height: 1.2; }
.feat-copy h2 span { color: var(--accent); }
.feat-copy p { font-size: 15px; color: var(--muted); line-height: 1.8; margin-bottom: 24px; }
.feat-bullets { display: flex; flex-direction: column; gap: 12px; }
.feat-bullet { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); line-height: 1.5; }
.feat-bullet-dot { width: 20px; height: 20px; border-radius: 50%; background: rgba(200,146,10,0.15); border: 1px solid rgba(200,146,10,0.3); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.feat-bullet-dot::after { content: '✓'; font-size: 10px; color: var(--accent); font-weight: 700; }
.feat-bullet strong { color: var(--text); }

/* ── BOTTOM CTA ── */
.feat-bottom-cta { background: var(--bg2); border-top: 1px solid var(--border); padding: 64px 48px; text-align: center; }
.feat-bottom-cta h2 { font-size: 36px; font-weight: 800; letter-spacing: -1px; margin-bottom: 12px; }
.feat-bottom-cta p { font-size: 16px; color: var(--muted); margin-bottom: 32px; }
.feat-bottom-cta .feat-cta { margin: 0 auto; }

/* ── DASHBOARD MOCKUP BASE ── */
.mock { background: var(--d-bg); border-radius: 12px 12px 0 0; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 32px 80px rgba(0,0,0,0.6); }
.mock-bar { background: #1a1d25; padding: 10px 16px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--d-border); }
.mock-dot { width: 10px; height: 10px; border-radius: 50%; }
.mock-dot.r { background: #ef4444; }
.mock-dot.y { background: #f59e0b; }
.mock-dot.g { background: #22c55e; }
.mock-url { flex: 1; background: rgba(255,255,255,0.05); border-radius: 6px; padding: 4px 12px; font-size: 11px; color: var(--d-muted); margin: 0 16px; }
.mock-inner { display: flex; height: 480px; }
.mock-sidebar { width: 200px; background: var(--d-bg2); border-right: 1px solid var(--d-border); padding: 16px 0; flex-shrink: 0; }
.mock-logo { padding: 8px 16px 16px; font-size: 12px; font-weight: 800; color: var(--d-accent); letter-spacing: -0.3px; }
.mock-section-label { padding: 8px 16px 4px; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: rgba(139,143,168,0.5); }
.mock-nav { padding: 3px 8px; margin: 1px 8px; border-radius: 6px; font-size: 11px; color: var(--d-muted); display: flex; align-items: center; gap: 8px; cursor: default; }
.mock-nav.active { background: rgba(56,189,248,0.1); color: var(--d-accent); }
.mock-nav .ni { width: 14px; text-align: center; font-size: 12px; }
.mock-content { flex: 1; overflow: hidden; padding: 16px; display: flex; flex-direction: column; gap: 12px; }

/* Stat cards */
.mock-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mock-stat { background: var(--d-bg2); border: 1px solid var(--d-border); border-radius: 8px; padding: 12px 14px; }
.mock-stat-label { font-size: 9px; text-transform: uppercase; letter-spacing: 0.8px; color: var(--d-muted); margin-bottom: 4px; }
.mock-stat-val { font-size: 20px; font-weight: 700; }
.mock-stat-val.pos { color: var(--green); }
.mock-stat-val.neg { color: var(--red); }
.mock-stat-val.neu { color: var(--d-text); }
.mock-stat-delta { font-size: 9px; color: var(--d-muted); margin-top: 2px; }
.mock-stat-delta.pos { color: var(--green); }

/* Chart placeholder */
.mock-chart { background: var(--d-bg2); border: 1px solid var(--d-border); border-radius: 8px; flex: 1; position: relative; overflow: hidden; }
.mock-chart-label { position: absolute; top: 10px; left: 14px; font-size: 10px; font-weight: 600; color: var(--d-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.mock-chart svg { position: absolute; bottom: 0; left: 0; right: 0; }

/* Trade cards */
.mock-trade-cards { display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.mock-trade { background: var(--d-bg2); border: 1px solid var(--d-border); border-radius: 8px; border-left: 3px solid var(--green); padding: 12px 14px; }
.mock-trade.loss { border-left-color: var(--red); }
.mock-trade-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.mock-trade-ticker { font-size: 14px; font-weight: 700; }
.mock-trade-pnl { font-size: 14px; font-weight: 700; }
.mock-trade-pnl.pos { color: var(--green); }
.mock-trade-pnl.neg { color: var(--red); }
.mock-trade-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.mock-badge { background: var(--d-bg3); border: 1px solid var(--d-border); border-radius: 4px; padding: 2px 7px; font-size: 9px; color: var(--d-muted); }
.mock-badge.grade-a { background: rgba(34,197,94,.15); color: var(--green); border-color: rgba(34,197,94,.3); }
.mock-badge.grade-b { background: rgba(56,189,248,.12); color: var(--d-accent); border-color: rgba(56,189,248,.25); }
.mock-badge.grade-c { background: rgba(245,158,11,.12); color: #f59e0b; border-color: rgba(245,158,11,.25); }
.mock-badge.rules { background: rgba(34,197,94,.1); color: var(--green); border-color: rgba(34,197,94,.25); }
.mock-badge.emotion { background: rgba(139,143,168,.1); color: var(--d-muted); }
.mock-review-bar { display: flex; gap: 6px; align-items: center; padding: 6px 0 0; border-top: 1px solid var(--d-border); margin-top: 8px; }

/* Table */
.mock-table { background: var(--d-bg2); border: 1px solid var(--d-border); border-radius: 8px; overflow: hidden; }
.mock-table-header { display: grid; padding: 8px 14px; background: var(--d-bg3); border-bottom: 1px solid var(--d-border); }
.mock-table-header span { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--d-muted); }
.mock-table-row { display: grid; padding: 8px 14px; border-bottom: 1px solid rgba(42,45,58,0.5); align-items: center; }
.mock-table-row:last-child { border-bottom: none; }
.mock-table-row span { font-size: 11px; color: var(--d-text); }
.mock-table-row span.pos { color: var(--green); }
.mock-table-row span.neg { color: var(--red); }
.mock-table-row span.muted { color: var(--d-muted); }

/* Chat */
.mock-chat { display: flex; flex-direction: column; gap: 10px; flex: 1; overflow: hidden; }
.mock-chat-msg { padding: 10px 14px; border-radius: 8px; font-size: 11px; line-height: 1.6; max-width: 85%; }
.mock-chat-msg.user { background: rgba(56,189,248,0.12); color: var(--d-text); border: 1px solid rgba(56,189,248,0.2); margin-left: auto; }
.mock-chat-msg.ai { background: var(--d-bg2); border: 1px solid var(--d-border); color: var(--d-text); }
.mock-chat-msg .ai-bold { font-weight: 700; color: var(--d-accent); }
.mock-chat-input { background: var(--d-bg2); border: 1px solid var(--d-border); border-radius: 8px; padding: 10px 14px; display: flex; gap: 8px; align-items: center; }
.mock-chat-input span { font-size: 11px; color: var(--d-muted); flex: 1; }
.mock-chat-send { background: var(--d-accent); color: var(--d-bg); border-radius: 5px; padding: 4px 10px; font-size: 10px; font-weight: 700; }
.mock-preset-row { display: flex; gap: 6px; flex-wrap: wrap; }
.mock-preset { background: var(--d-bg2); border: 1px solid var(--d-border); border-radius: 6px; padding: 5px 10px; font-size: 10px; color: var(--d-muted); white-space: nowrap; }

/* Goal bars */
.mock-goal { background: var(--d-bg2); border: 1px solid var(--d-border); border-radius: 8px; padding: 12px 14px; }
.mock-goal-header { display: flex; justify-content: space-between; margin-bottom: 8px; }
.mock-goal-label { font-size: 10px; color: var(--d-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.mock-goal-val { font-size: 10px; font-weight: 700; color: var(--green); }
.mock-goal-track { height: 5px; background: var(--d-bg3); border-radius: 3px; }
.mock-goal-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--d-accent), #10b981); }

/* Calendar */
.mock-cal { background: var(--d-bg2); border: 1px solid var(--d-border); border-radius: 8px; overflow: hidden; }
.mock-cal-header { background: var(--d-bg3); padding: 10px 14px; font-size: 11px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.mock-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; padding: 8px; }
.mock-cal-day { aspect-ratio: 1; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 10px; }
.mock-cal-day.empty { opacity: 0; }
.mock-cal-day.head { font-size: 9px; color: var(--d-muted); font-weight: 600; }
.mock-cal-day.win { background: rgba(34,197,94,0.2); color: var(--green); font-weight: 600; }
.mock-cal-day.loss { background: rgba(239,68,68,0.15); color: var(--red); font-weight: 600; }
.mock-cal-day.neutral { background: var(--d-bg3); color: var(--d-muted); }

/* Input field */
.mock-input { background: var(--d-bg3); border: 1px solid var(--d-border); border-radius: 6px; padding: 7px 12px; font-size: 11px; color: var(--d-muted); display: flex; align-items: center; justify-content: space-between; }
.mock-input.focused { border-color: var(--d-accent); }
.mock-input-label { font-size: 9px; color: var(--d-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.mock-form-group { display: flex; flex-direction: column; gap: 4px; }
.mock-form-row { display: grid; gap: 8px; }
.mock-btn { border: none; border-radius: 6px; padding: 8px 14px; font-size: 11px; font-weight: 700; cursor: default; }
.mock-btn.primary { background: var(--d-accent); color: var(--d-bg); }
.mock-btn.secondary { background: var(--d-bg3); color: var(--d-muted); border: 1px solid var(--d-border); }
.mock-btn.danger { background: rgba(239,68,68,0.1); color: var(--red); border: 1px solid rgba(239,68,68,0.2); }

/* Insight card */
.mock-insight { background: var(--d-bg2); border: 1px solid var(--d-border); border-radius: 8px; padding: 14px; }
.mock-insight-label { font-size: 9px; color: var(--d-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.mock-insight-val { font-size: 18px; font-weight: 700; }
.mock-insight-val.pos { color: var(--green); }
.mock-insight-val.neg { color: var(--red); }
.mock-insight-val.acc { color: var(--d-accent); }
.mock-insight-sub { font-size: 10px; color: var(--d-muted); margin-top: 3px; }

/* Upload zone */
.mock-upload { border: 2px dashed var(--d-border); border-radius: 10px; padding: 40px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.mock-upload-icon { font-size: 32px; }
.mock-upload-title { font-size: 13px; font-weight: 600; color: var(--d-text); }
.mock-upload-sub { font-size: 10px; color: var(--d-muted); }

/* Progress / gauge */
.mock-gauge-wrap { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.mock-gauge { width: 80px; height: 80px; border-radius: 50%; background: conic-gradient(var(--d-accent) 0% 72%, var(--d-bg3) 72% 100%); display: flex; align-items: center; justify-content: center; position: relative; }
.mock-gauge::before { content: ''; position: absolute; width: 56px; height: 56px; border-radius: 50%; background: var(--d-bg2); }
.mock-gauge-val { position: relative; z-index: 1; font-size: 14px; font-weight: 800; color: var(--d-accent); }
.mock-gauge-label { font-size: 10px; color: var(--d-muted); }

/* Chip rows */
.mock-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.mock-chip { background: var(--d-bg2); border: 1px solid var(--d-border); border-radius: 16px; padding: 4px 12px; font-size: 10px; color: var(--d-muted); }
.mock-chip.active { border-color: var(--d-accent); color: var(--d-accent); background: rgba(56,189,248,0.08); }

/* Small mockup wrapper for sections */
.section-mock { background: var(--d-bg); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; overflow: hidden; box-shadow: 0 16px 48px rgba(0,0,0,0.4); }
.section-mock .mock-bar { background: #1a1d25; }

@media (max-width: 900px) {
  nav { padding: 16px 24px; }
  .breadcrumb, .feat-hero { padding-left: 24px; padding-right: 24px; }
  .main-mockup-wrap { padding: 32px 24px 0; }
  .feat-section { padding: 48px 24px; }
  .feat-row, .feat-row.flip { grid-template-columns: 1fr; direction: ltr; gap: 32px; }
  .mock-inner { height: auto; flex-direction: column; }
  .mock-sidebar { width: 100%; height: auto; }
  .mock-stat-grid { grid-template-columns: repeat(2, 1fr); }
}
