/* ═══════════════════════════════════════════
   TradeLink Design System v3
   Premium Dark — Refined Industrial Aesthetic
═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300&family=JetBrains+Mono:wght@400;600&display=swap');

/* ── TOKENS ─────────────────────────────── */
:root {
  --black:       #080808;
  --off-black:   #0e0e0e;
  --panel:       #111111;
  --panel2:      #161616;
  --panel3:      #1a1a1a;
  --border:      #242424;
  --border2:     #2e2e2e;
  --orange:      #FF6200;
  --orange-soft: #FF7A20;
  --orange-dim:  rgba(255,98,0,0.12);
  --orange-glow: rgba(255,98,0,0.2);
  --yellow:      #FFD100;
  --white:       #F0EDE8;
  --white-soft:  #C8C4BE;
  --grey:        #666;
  --grey-mid:    #888;
  --green:       #3ECF6C;
  --green-soft:  rgba(62,207,108,0.12);
  --red:         #F06060;
  --red-soft:    rgba(240,96,96,0.12);
  --blue:        #5B9CF6;
  --purple:      #9B7FF0;
  --nav-h:       64px;
  --ease:        cubic-bezier(0.16,1,0.3,1);
  --ease-in:     cubic-bezier(0.4,0,1,1);
  --radius:      6px;
  --radius-sm:   4px;
  --radius-lg:   10px;
}

/* ── RESET ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Grain overlay */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.028'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9999;
}

/* ── SCROLLBAR ──────────────────────────── */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--orange); }

/* ── PAGE WRAP ──────────────────────────── */
.page-wrap { padding-top: var(--nav-h); min-height: 100vh; }

/* ═══════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════ */
#tl-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
  background: rgba(8,8,8,0);
  transition: background 0.5s var(--ease), border-color 0.5s, box-shadow 0.5s;
  border-bottom: 1px solid transparent;
}

#tl-nav.scrolled {
  background: rgba(8,8,8,0.85);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-bottom-color: rgba(255,255,255,0.05);
  box-shadow: 0 1px 0 rgba(255,255,255,0.03), 0 8px 40px rgba(0,0,0,0.6);
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px; letter-spacing: 2.5px;
  color: var(--white); text-decoration: none;
  display: flex; align-items: center; gap: 8px;
  transition: opacity 0.2s;
}
.nav-logo:hover { opacity: 0.75; }

.nav-links {
  display: flex; align-items: center; gap: 0;
  list-style: none;
  position: absolute; left: 50%; transform: translateX(-50%);
}

.nav-links a {
  color: var(--grey); text-decoration: none;
  font-size: 13.5px; font-weight: 500; letter-spacing: 0.2px;
  padding: 8px 16px; position: relative;
  transition: color 0.2s;
}

.nav-links a::after {
  content: ''; position: absolute;
  bottom: 4px; left: 16px; right: 16px;
  height: 1px; background: var(--orange);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.3s var(--ease);
}

.nav-links a:hover { color: var(--white-soft); }
.nav-links a:hover::after,
.nav-links a.nav-active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.nav-active { color: var(--white); }

.nav-actions { display: flex; gap: 8px; align-items: center; }

/* ── User dropdown ── */
.nav-user-menu { position: relative; }

.nav-user-btn {
  display: flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--white); padding: 7px 14px;
  font-size: 13px; font-weight: 500;
  cursor: pointer; transition: all 0.2s;
  font-family: 'DM Sans', sans-serif;
  border-radius: var(--radius);
}
.nav-user-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.14);
}

.nav-avatar-sm {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: #fff; flex-shrink: 0;
}

.nav-chevron { font-size: 9px; color: var(--grey); transition: transform 0.25s; }
.nav-user-menu:hover .nav-chevron { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0;
  background: var(--panel2);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  min-width: 220px; overflow: hidden;
  opacity: 0; pointer-events: none; transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s var(--ease);
  box-shadow: 0 24px 60px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.03);
}

.nav-user-menu:hover .nav-dropdown { opacity: 1; pointer-events: all; transform: translateY(0); }

.nav-dropdown-header {
  padding: 14px 18px 12px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.nav-dropdown-name { font-size: 13px; font-weight: 600; color: var(--white); }
.nav-dropdown-role {
  font-size: 10px; color: var(--grey);
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase; letter-spacing: 1.2px; margin-top: 3px;
}

.nav-dropdown-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 18px; font-size: 13px;
  color: var(--grey-mid); cursor: pointer;
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.nav-dropdown-item:last-child { border-bottom: none; }
.nav-dropdown-item:hover { background: rgba(255,255,255,0.04); color: var(--white); }
.nav-dropdown-item.danger { color: var(--red); }
.nav-dropdown-item.danger:hover { background: var(--red-soft); }
.nav-dropdown-icon { font-size: 14px; width: 18px; text-align: center; opacity: 0.7; }

/* ── Nav buttons ── */
.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white-soft);
  padding: 8px 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; font-weight: 500;
  cursor: pointer; transition: all 0.2s;
  text-decoration: none;
  display: inline-flex; align-items: center;
  border-radius: var(--radius);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.05);
  color: var(--white);
}

.btn-primary {
  background: var(--orange);
  border: none; color: #fff;
  padding: 9px 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all 0.25s;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: var(--radius);
  position: relative; overflow: hidden;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.14) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.2s;
}
.btn-primary:hover {
  background: var(--orange-soft);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(255,98,0,0.35);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:active { transform: translateY(0); }

/* ═══════════════════════════════════════════
   COMMON ELEMENTS
═══════════════════════════════════════════ */

/* Section labels */
.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; color: var(--orange);
  letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 12px;
}
.section-label::before {
  content: ''; display: block;
  width: 20px; height: 1px;
  background: var(--orange);
}

/* Section titles */
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 0.95; margin-bottom: 20px;
}

/* Tag chip */
.tag {
  font-size: 11px; padding: 3px 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border2);
  color: var(--grey-mid);
  font-family: 'JetBrains Mono', monospace;
  border-radius: 3px;
  transition: all 0.2s;
}

/* Verified badge */
.badge-green {
  font-size: 10px;
  background: var(--green-soft);
  color: var(--green);
  padding: 3px 10px;
  border: 1px solid rgba(62,207,108,0.2);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.4px;
  display: inline-block;
  border-radius: 20px;
}

/* Stars */
.stars { color: var(--yellow); }

/* Mono */
.mono { font-family: 'JetBrains Mono', monospace; }

/* ─ Buttons ─ */
.btn-orange {
  background: var(--orange); color: #fff; border: none;
  padding: 13px 30px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px; letter-spacing: 2px;
  cursor: pointer; transition: all 0.25s;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
  display: inline-flex; align-items: center; gap: 10px;
}
.btn-orange:hover {
  background: var(--yellow); color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255,98,0,0.35);
}

.btn-outline {
  background: transparent; color: var(--white);
  border: 1px solid var(--border2);
  padding: 12px 30px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px; letter-spacing: 2px;
  cursor: pointer; transition: all 0.25s;
  display: inline-flex; align-items: center;
}
.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════
   FORMS
═══════════════════════════════════════════ */
input, select, textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border2);
  color: var(--white);
  padding: 11px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px; outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  width: 100%;
  border-radius: var(--radius-sm);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--orange);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 0 0 3px rgba(255,98,0,0.1);
}
input::placeholder, textarea::placeholder { color: var(--grey); }
select option { background: var(--panel2); }

label {
  font-size: 11px; color: var(--grey-mid);
  display: block; margin-bottom: 6px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.8px; text-transform: uppercase;
}
.form-group { margin-bottom: 18px; }

.error-msg {
  background: var(--red-soft);
  border: 1px solid rgba(240,96,96,0.25);
  color: var(--red);
  padding: 11px 14px; font-size: 13px;
  margin-bottom: 18px; display: none;
  border-radius: var(--radius-sm);
}
.error-msg.show { display: block; }

.success-msg {
  background: var(--green-soft);
  border: 1px solid rgba(62,207,108,0.25);
  color: var(--green);
  padding: 11px 14px; font-size: 13px;
  margin-bottom: 18px; display: none;
  border-radius: var(--radius-sm);
}
.success-msg.show { display: block; }

/* ═══════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════ */
.anim-fade-up {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.anim-fade-up.in { opacity: 1; transform: translateY(0); }

.anim-fade {
  opacity: 0;
  transition: opacity 0.65s var(--ease);
}
.anim-fade.in { opacity: 1; }

.anim-slide-left {
  opacity: 0; transform: translateX(-40px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.anim-slide-left.in { opacity: 1; transform: translateX(0); }

.anim-slide-right {
  opacity: 0; transform: translateX(40px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.anim-slide-right.in { opacity: 1; transform: translateX(0); }

.anim-scale {
  opacity: 0; transform: scale(0.94);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.anim-scale.in { opacity: 1; transform: scale(1); }

/* Stagger delays */
.d1 { transition-delay: 0.06s; }
.d2 { transition-delay: 0.12s; }
.d3 { transition-delay: 0.18s; }
.d4 { transition-delay: 0.24s; }
.d5 { transition-delay: 0.30s; }
.d6 { transition-delay: 0.36s; }
.d7 { transition-delay: 0.42s; }
.d8 { transition-delay: 0.48s; }

/* ═══════════════════════════════════════════
   DASHBOARD LAYOUT
═══════════════════════════════════════════ */
.dash-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: calc(100vh - var(--nav-h));
}

/* ─ Sidebar ─ */
.dash-sidebar {
  background: var(--panel);
  border-right: 1px solid var(--border);
  padding: 24px 0;
  position: sticky; top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}

.ds-user {
  padding: 0 18px 22px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
}

.ds-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), #FF9500);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; color: #fff;
  margin-bottom: 10px;
  box-shadow: 0 0 0 3px rgba(255,98,0,0.15), 0 4px 16px rgba(255,98,0,0.2);
}

.ds-name { font-weight: 600; font-size: 14px; color: var(--white); }
.ds-role {
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase; letter-spacing: 1.2px; margin-top: 2px;
}
.ds-role-c { color: var(--grey-mid); }
.ds-role-p { color: var(--orange); }

.ds-nav-section {
  padding: 14px 18px 5px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; color: var(--grey);
  letter-spacing: 2px; text-transform: uppercase;
}

.ds-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 18px; margin: 1px 8px;
  cursor: pointer; transition: all 0.18s;
  font-size: 13px; font-weight: 500;
  color: var(--grey-mid);
  border-left: 2px solid transparent;
  text-decoration: none;
  border-radius: var(--radius-sm);
}
.ds-nav-item:hover {
  color: var(--white);
  background: rgba(255,255,255,0.04);
}
.ds-nav-item.active {
  color: var(--orange);
  border-left-color: var(--orange);
  background: var(--orange-dim);
}

.ds-nav-icon { font-size: 15px; width: 18px; text-align: center; opacity: 0.8; }

.ds-nav-badge {
  margin-left: auto;
  background: var(--orange); color: #fff;
  font-size: 10px; padding: 1px 7px;
  border-radius: 20px;
  font-family: 'JetBrains Mono', monospace;
}
.ds-nav-badge.red { background: var(--red); }

/* ─ Main area ─ */
.dash-main { padding: 32px 40px; overflow-y: auto; }

.dash-topbar {
  display: flex; align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 28px;
}

.dash-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 40px; line-height: 1;
}
.dash-title span { color: var(--orange); }

.dash-sub {
  font-size: 12px; color: var(--grey);
  font-family: 'JetBrains Mono', monospace;
  margin-top: 5px; letter-spacing: 0.3px;
}

.dash-action-btn {
  background: var(--orange); color: #fff; border: none;
  padding: 11px 22px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 15px; letter-spacing: 2px;
  cursor: pointer; transition: all 0.25s;
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 0 100%);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
}
.dash-action-btn:hover {
  background: var(--yellow); color: var(--black);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255,98,0,0.3);
}

/* ═══════════════════════════════════════════
   KPI BOXES
═══════════════════════════════════════════ */
.kpi-row {
  display: grid; gap: 2px;
  background: var(--border);
  margin-bottom: 20px;
}
.kpi-3  { grid-template-columns: repeat(3,1fr); }
.kpi-4  { grid-template-columns: repeat(4,1fr); }
.kpi-5  { grid-template-columns: repeat(5,1fr); }

.kpi-box {
  background: var(--panel);
  padding: 20px 22px;
  position: relative; overflow: hidden;
  transition: background 0.2s;
}
.kpi-box:hover { background: var(--panel2); }

.kpi-box::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
}

.kpi-box::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--orange);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.kpi-box:hover::after { transform: scaleX(1); }

.kpi-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; color: var(--grey);
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px;
}

.kpi-val {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px; line-height: 1; color: var(--white);
}

.kpi-sub { font-size: 11px; margin-top: 5px; color: var(--grey); }

/* ═══════════════════════════════════════════
   PANEL CARDS
═══════════════════════════════════════════ */
.panel-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 20px;
}

.panel-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.01);
}

.panel-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 17px; letter-spacing: 0.5px;
}

.panel-sub {
  font-size: 11px; color: var(--grey);
  font-family: 'JetBrains Mono', monospace;
  margin-top: 2px; letter-spacing: 0.2px;
}

/* ═══════════════════════════════════════════
   DATA TABLE
═══════════════════════════════════════════ */
.data-table { width: 100%; border-collapse: collapse; }

.data-table th {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; color: var(--grey);
  text-transform: uppercase; letter-spacing: 1.5px;
  padding: 12px 20px; text-align: left;
  border-bottom: 1px solid var(--border);
  font-weight: 400;
  background: rgba(255,255,255,0.015);
}

.data-table td {
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  font-size: 13px; vertical-align: middle;
}

.data-table tr:last-child td { border-bottom: none; }
.data-table tbody tr { transition: background 0.15s; }
.data-table tbody tr:hover td { background: rgba(255,255,255,0.02); }

/* ─ Status pills ─ */
.status-pill {
  font-size: 10px; padding: 3px 10px;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase; letter-spacing: 0.4px;
  border-radius: 20px; display: inline-block;
  font-weight: 600;
}
.s-confirmed  { background: var(--green-soft); color: var(--green); border: 1px solid rgba(62,207,108,0.2); }
.s-pending    { background: rgba(255,209,0,0.1); color: var(--yellow); border: 1px solid rgba(255,209,0,0.2); }
.s-completed  { background: rgba(91,156,246,0.1); color: var(--blue); border: 1px solid rgba(91,156,246,0.2); }
.s-cancelled  { background: var(--red-soft); color: var(--red); border: 1px solid rgba(240,96,96,0.2); }
.s-active     { background: var(--green-soft); color: var(--green); border: 1px solid rgba(62,207,108,0.2); }
.s-suspended  { background: var(--red-soft); color: var(--red); border: 1px solid rgba(240,96,96,0.2); }
.s-pending    { background: rgba(255,209,0,0.1); color: var(--yellow); border: 1px solid rgba(255,209,0,0.2); }

/* Ref tag */
.ref-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--orange);
  background: var(--orange-dim);
  padding: 2px 8px; border-radius: 3px;
}

/* ─ Table buttons ─ */
.tbl-btn {
  font-size: 11px; padding: 5px 12px;
  border: 1px solid var(--border2);
  color: var(--grey-mid); background: none;
  cursor: pointer; border-radius: 3px;
  transition: all 0.18s;
  font-family: 'JetBrains Mono', monospace;
}
.tbl-btn:hover { border-color: var(--orange); color: var(--orange); }
.tbl-btn-primary { background: var(--orange); color: #fff; border-color: var(--orange); }
.tbl-btn-primary:hover { background: var(--orange-soft); color: #fff; }
.tbl-btn-danger { background: var(--red-soft); color: var(--red); border-color: rgba(240,96,96,0.25); }
.tbl-btn-danger:hover { background: rgba(240,96,96,0.2); }

/* ─ Filter chips ─ */
.filter-chip {
  border: 1px solid var(--border2); padding: 5px 14px;
  font-size: 11px; cursor: pointer;
  font-family: 'JetBrains Mono', monospace;
  color: var(--grey); transition: all 0.18s;
  background: transparent; letter-spacing: 0.4px;
  border-radius: 20px;
}
.filter-chip:hover { border-color: var(--border2); color: var(--white-soft); }
.filter-chip.active {
  border-color: var(--orange); color: var(--orange);
  background: var(--orange-dim);
}

/* ─ Empty state ─ */
.empty-state { text-align: center; padding: 56px 24px; }
.empty-icon { font-size: 40px; margin-bottom: 12px; opacity: 0.5; }
.empty-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px; color: var(--white); margin-bottom: 8px;
}
.empty-sub {
  font-size: 14px; color: var(--grey);
  margin-bottom: 22px; font-weight: 300;
}

/* ─ Two-col grid ─ */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2px; background: var(--border); margin-bottom: 20px;
}
.two-col-card { background: var(--panel); padding: 22px; }

/* ─ Stock bar ─ */
.stock-bar-bg {
  height: 4px; background: var(--border2);
  border-radius: 2px; overflow: hidden; margin-top: 6px;
}
.stock-bar-fill {
  height: 100%; border-radius: 2px;
  transition: width 1.2s var(--ease);
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.tl-footer {
  background: var(--off-black);
  border-top: 1px solid var(--border);
  padding: 56px 48px 28px;
}

.tl-footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 44px;
}

.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px; letter-spacing: 3px;
  color: var(--white); margin-bottom: 10px;
}

.footer-tagline {
  font-size: 13px; color: var(--grey);
  line-height: 1.7; max-width: 240px;
  font-weight: 300; margin-bottom: 18px;
}

.footer-social { display: flex; gap: 8px; }
.footer-social-btn {
  width: 34px; height: 34px;
  border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; cursor: pointer;
  transition: all 0.2s; border-radius: var(--radius);
  color: var(--grey);
}
.footer-social-btn:hover {
  border-color: var(--orange);
  background: var(--orange-dim);
  color: var(--orange);
}

.footer-col-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--grey);
  margin-bottom: 14px;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a {
  font-size: 13px; color: var(--grey);
  text-decoration: none;
  transition: color 0.2s, padding-left 0.2s;
}
.footer-links a:hover { color: var(--orange); padding-left: 5px; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--border);
}
.footer-copy {
  font-size: 11px; color: #444;
  font-family: 'JetBrains Mono', monospace;
}
.footer-copy span { color: var(--orange); }

/* ═══════════════════════════════════════════
   BACK TO TOP
═══════════════════════════════════════════ */
#back-to-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 200;
  width: 42px; height: 42px;
  background: var(--orange); color: #fff; border: none;
  cursor: pointer; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: all 0.3s var(--ease);
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 16px rgba(255,98,0,0.35);
}
#back-to-top.show { opacity: 1; transform: translateY(0); pointer-events: all; }
#back-to-top:hover {
  background: var(--yellow); color: var(--black);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════
   TOAST
═══════════════════════════════════════════ */
.tl-toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(70px);
  background: var(--panel2);
  border: 1px solid var(--border2);
  color: var(--white);
  padding: 12px 22px; font-size: 13px; font-weight: 500;
  z-index: 600;
  transition: transform 0.4s var(--ease);
  white-space: nowrap;
  display: flex; align-items: center; gap: 10px;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.03);
  font-family: 'DM Sans', sans-serif;
}

/* ═══════════════════════════════════════════
   UTILITY
═══════════════════════════════════════════ */
.text-orange { color: var(--orange); }
.text-green  { color: var(--green); }
.text-red    { color: var(--red); }
.text-grey   { color: var(--grey); }
.text-white  { color: var(--white); }
