/* ── VARIABLES ──────────────────────────────────────────────────────────── */
:root {
  --bg:       #09090e;
  --surface:  #111118;
  --surface2: #18181f;
  --border:   #252530;
  --border2:  #38384e;
  --text:     #eaeaf4;
  --muted:    #6868a0;
  --accent:   #6c63ff;
  --accent2:  #ff6b6b;
  --accent3:  #00d4aa;
  --green:    #00d4aa;
  --red:      #ff6b6b;
  --yellow:   #ffd166;
  --mono:     'DM Mono', monospace;
  --display:  'Syne', sans-serif;
  --body:     'DM Sans', sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(108,99,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,99,255,0.025) 1px, transparent 1px);
  background-size: 44px 44px;
}

main { position: relative; z-index: 1; }

a { color: inherit; }

/* ── NAVBAR ─────────────────────────────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 200;
  background: rgba(9,9,14,0.88);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 32px;
}
.nav-logo {
  font-family: var(--display); font-weight: 800; font-size: 22px;
  letter-spacing: -0.5px; text-decoration: none; color: var(--text);
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 8px; position: relative; }

/* ── BUTTONS ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 9px 18px; border-radius: 8px;
  font-family: var(--body); font-size: 14px; font-weight: 500;
  cursor: pointer; transition: all 0.18s;
  border: 1px solid transparent; text-decoration: none; white-space: nowrap;
}
.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 0 18px rgba(108,99,255,0.25); }
.btn-primary:hover { background: #7b73ff; box-shadow: 0 0 28px rgba(108,99,255,0.4); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: rgba(108,99,255,0.1); }
.btn-danger { background: rgba(255,107,107,0.12); color: var(--red); border-color: rgba(255,107,107,0.25); }
.btn-danger:hover { background: rgba(255,107,107,0.22); }
.btn-success { background: rgba(0,212,170,0.12); color: var(--green); border-color: rgba(0,212,170,0.25); }
.btn-success:hover { background: rgba(0,212,170,0.22); }
.btn-lg { padding: 13px 28px; font-size: 15px; }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-link { background: none; border: none; color: var(--accent); font-size: 13px; cursor: pointer; font-family: var(--body); }

/* ── TAGS ───────────────────────────────────────────────────────────────── */
.tag {
  display: inline-flex; align-items: center;
  padding: 3px 10px; border-radius: 100px;
  font-family: var(--mono); font-size: 11px; font-weight: 500;
}
.tag-purple { background: rgba(108,99,255,0.12); color: var(--accent); border: 1px solid rgba(108,99,255,0.22); }
.tag-green  { background: rgba(0,212,170,0.1);   color: var(--green);  border: 1px solid rgba(0,212,170,0.2); }
.tag-red    { background: rgba(255,107,107,0.1);  color: var(--red);    border: 1px solid rgba(255,107,107,0.2); }
.tag-yellow { background: rgba(255,209,102,0.1);  color: var(--yellow); border: 1px solid rgba(255,209,102,0.2); }

/* ── FLASH ──────────────────────────────────────────────────────────────── */
.flash {
  position: fixed; top: 72px; left: 50%; transform: translateX(-50%);
  z-index: 500; padding: 12px 24px; border-radius: 10px;
  font-size: 14px; max-width: 540px; width: 90%; text-align: center;
  animation: flashIn 0.3s ease, flashOut 0.4s 3.6s ease forwards;
}
.flash-success { background: rgba(0,212,170,0.15); border: 1px solid rgba(0,212,170,0.3); color: var(--green); }
.flash-error   { background: rgba(255,107,107,0.15); border: 1px solid rgba(255,107,107,0.3); color: var(--red); }
@keyframes flashIn  { from { opacity:0; transform:translateX(-50%) translateY(-10px); } to { opacity:1; transform:translateX(-50%) translateY(0); } }
@keyframes flashOut { from { opacity:1; } to { opacity:0; } }

/* ── USER CHIP ──────────────────────────────────────────────────────────── */
.user-chip {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 12px 5px 5px; border: 1px solid var(--border);
  border-radius: 100px; font-size: 13px; text-decoration: none;
  transition: border-color 0.2s;
}
.user-chip:hover { border-color: var(--border2); }
.user-chip-avatar { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.user-chip-avatar-text {
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: #fff;
}

/* ── NOTIFICATIONS ──────────────────────────────────────────────────────── */
.notif-bell {
  position: relative; background: none; border: 1px solid var(--border);
  border-radius: 8px; padding: 8px; cursor: pointer; color: var(--muted);
  transition: all 0.2s; display: flex;
}
.notif-bell:hover { color: var(--text); border-color: var(--border2); }
.notif-count {
  position: absolute; top: -5px; right: -5px;
  background: var(--red); color: #fff; border-radius: 100px;
  font-size: 10px; font-weight: 700; padding: 1px 5px;
  font-family: var(--mono); min-width: 16px; text-align: center;
}
.notif-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: 12px; width: 320px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4); z-index: 400; overflow: hidden;
}
.notif-dropdown.hidden { display: none; }
.notif-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px; border-bottom: 1px solid var(--border);
  font-size: 13px; font-weight: 600;
}
.notif-item {
  display: block; padding: 12px 16px; border-bottom: 1px solid var(--border);
  text-decoration: none; transition: background 0.15s; color: var(--text);
}
.notif-item:hover { background: var(--surface2); }
.notif-item.unread { border-left: 3px solid var(--accent); }
.notif-title { font-size: 13px; font-weight: 500; margin-bottom: 2px; }
.notif-body  { font-size: 12px; color: var(--muted); }
.notif-empty { padding: 24px; text-align: center; color: var(--muted); font-size: 13px; }

/* ── HERO ───────────────────────────────────────────────────────────────── */
.hero {
  padding: 96px 32px 64px;
  text-align: center;
}
.hero-inner { max-width: 820px; margin: 0 auto; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; color: var(--accent);
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 28px;
  padding: 6px 16px; border: 1px solid rgba(108,99,255,0.3);
  border-radius: 100px; background: rgba(108,99,255,0.07);
}
.hero-h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(44px, 6vw, 76px); line-height: 1.04; letter-spacing: -2.5px;
  margin-bottom: 24px;
}
.hero-h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 18px; color: var(--muted); line-height: 1.7;
  max-width: 540px; margin: 0 auto 40px;
}
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  display: flex; justify-content: center; gap: 48px; flex-wrap: wrap;
  margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--border);
}
.stat { text-align: center; }
.stat-num { font-family: var(--display); font-weight: 800; font-size: 36px; display: block; }
.stat-label { font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }

/* ── HOW IT WORKS ───────────────────────────────────────────────────────── */
.how-section { padding: 64px 32px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); }
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 24px; margin-top: 32px; }
.how-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 28px;
}
.how-num { font-family: var(--display); font-weight: 800; font-size: 36px; color: var(--border2); margin-bottom: 14px; }
.how-card h3 { font-family: var(--display); font-weight: 700; font-size: 18px; margin-bottom: 10px; }
.how-card p  { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ── SECTION LAYOUT ─────────────────────────────────────────────────────── */
.section-wrap { max-width: 1200px; margin: 0 auto; padding: 64px 32px; }
.section-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 28px; }
.section-label { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--muted); }
.page-title { font-family: var(--display); font-weight: 800; font-size: 32px; letter-spacing: -0.5px; }
.page-sub   { font-size: 15px; color: var(--muted); margin: 8px 0 32px; }

/* ── BROWSE CONTROLS ────────────────────────────────────────────────────── */
.browse-controls { margin-bottom: 20px; }
.search-bar {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 11px 16px; margin-bottom: 16px;
  transition: border-color 0.2s;
}
.search-bar:focus-within { border-color: var(--accent); }
.search-bar svg { color: var(--muted); flex-shrink: 0; }
.search-bar input {
  background: none; border: none; outline: none; color: var(--text);
  font-family: var(--body); font-size: 14px; flex: 1;
}
.search-bar input::placeholder { color: var(--muted); }

.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn {
  padding: 6px 14px; border-radius: 6px; font-size: 12px; font-family: var(--mono);
  cursor: pointer; border: 1px solid var(--border); background: var(--surface);
  color: var(--muted); transition: all 0.15s; text-decoration: none; display: inline-block;
}
.filter-btn:hover, .filter-btn.active { border-color: var(--accent); color: var(--accent); background: rgba(108,99,255,0.08); }

/* ── LISTINGS GRID ──────────────────────────────────────────────────────── */
.listings-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 18px; }

.listing-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 22px; cursor: pointer;
  transition: all 0.2s; position: relative; overflow: hidden;
  text-decoration: none; color: var(--text); display: block;
}
.listing-card::before {
  content: ''; position: absolute; top:0; left:0; right:0; height:2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  opacity: 0; transition: opacity 0.2s;
}
.listing-card:hover { border-color: var(--border2); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.3); }
.listing-card:hover::before { opacity: 1; }

.card-header { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.card-logo {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 800; font-size: 16px;
  flex-shrink: 0; border: 1px solid var(--border);
}
.card-meta { flex: 1; min-width: 0; }
.card-name { font-family: var(--display); font-weight: 700; font-size: 15px; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-url  { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.card-desc { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--border); }
.card-price { font-family: var(--mono); font-size: 14px; font-weight: 500; }
.card-slots { display: flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.slot-dot   { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 6px var(--green); flex-shrink: 0; }

/* ── PAGINATION ─────────────────────────────────────────────────────────── */
.pagination { display: flex; gap: 8px; margin-top: 40px; justify-content: center; }
.page-btn {
  width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); background: var(--surface); color: var(--muted);
  text-decoration: none; font-size: 13px; transition: all 0.15s;
}
.page-btn:hover, .page-btn.active { border-color: var(--accent); color: var(--accent); background: rgba(108,99,255,0.08); }

/* ── DETAIL PAGE ────────────────────────────────────────────────────────── */
.detail-wrap { max-width: 940px; margin: 0 auto; padding: 40px 32px 80px; }
.back-btn {
  display: inline-flex; align-items: center; gap: 8px; color: var(--muted);
  font-size: 13px; cursor: pointer; margin-bottom: 28px; transition: color 0.2s;
  text-decoration: none; background: none; border: none;
}
.back-btn:hover { color: var(--text); }
.detail-header { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 36px; }
.detail-logo {
  width: 68px; height: 68px; border-radius: 16px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 800; font-size: 24px; border: 1px solid var(--border);
}
.detail-name { font-family: var(--display); font-weight: 800; font-size: 30px; letter-spacing: -0.5px; margin-bottom: 6px; }
.detail-url  { font-family: var(--mono); font-size: 12px; color: var(--accent); margin-bottom: 10px; display: block; text-decoration: none; }
.detail-url:hover { text-decoration: underline; }
.detail-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.detail-body { display: grid; grid-template-columns: 1fr 320px; gap: 36px; align-items: start; }
.detail-section-title { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 2px; color: var(--muted); margin-bottom: 12px; }
.detail-desc { font-size: 15px; color: var(--muted); line-height: 1.8; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 24px; }
.info-item { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; }
.info-item-label { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 6px; }
.info-item-value { font-family: var(--display); font-weight: 600; font-size: 18px; }
.offer-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 24px; position: sticky; top: 80px; }
.offer-card h3 { font-family: var(--display); font-weight: 700; font-size: 18px; margin-bottom: 6px; }
.offer-card p  { font-size: 13px; color: var(--muted); margin-bottom: 20px; }

/* ── FORMS ──────────────────────────────────────────────────────────────── */
.form-page-wrap { max-width: 680px; margin: 0 auto; padding: 40px 32px 80px; }
.form-group   { margin-bottom: 16px; }
.form-label   { display: block; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 8px; }
.form-input, .form-textarea, .form-select {
  width: 100%; background: var(--bg); border: 1px solid var(--border);
  border-radius: 8px; padding: 10px 14px; color: var(--text);
  font-family: var(--body); font-size: 14px; outline: none; transition: border-color 0.2s;
}
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--accent); }
.form-textarea { resize: vertical; min-height: 90px; }
.form-select   { appearance: none; cursor: pointer; }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 26px; margin-bottom: 18px; }
.form-card-title { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--accent); margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }

.slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.slot-option {
  border: 1px solid var(--border); border-radius: 8px; padding: 12px 8px;
  cursor: pointer; text-align: center; transition: all 0.15s; background: var(--bg);
  display: flex; flex-direction: column; align-items: center;
}
.slot-option input[type=radio] { display: none; }
.slot-option:has(input:checked), .slot-option:hover { border-color: var(--accent); background: rgba(108,99,255,0.08); }
.slot-option:has(input:checked) .slot-num { color: var(--accent); }
.slot-num { font-family: var(--display); font-weight: 700; font-size: 22px; }
.slot-lbl { font-size: 11px; color: var(--muted); margin-top: 2px; }

/* ── DASHBOARD ──────────────────────────────────────────────────────────── */
.dash-wrap { max-width: 1100px; margin: 0 auto; padding: 40px 32px 80px; }
.dash-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 36px; }
.dash-greeting { font-family: var(--display); font-weight: 700; font-size: 28px; letter-spacing: -0.5px; }
.dash-greeting span { color: var(--accent); }
.dash-stats { display: flex; gap: 16px; margin-bottom: 36px; flex-wrap: wrap; }
.dash-stat {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 20px 28px; min-width: 120px;
}
.dash-stat-num   { font-family: var(--display); font-weight: 800; font-size: 30px; }
.dash-stat-label { font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

.dash-tabs { display: flex; border-bottom: 1px solid var(--border); margin-bottom: 28px; gap: 0; overflow-x: auto; }
.dash-tab {
  padding: 12px 22px; font-size: 14px; color: var(--muted); cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -1px; transition: all 0.18s;
  background: none; border-top: none; border-left: none; border-right: none;
  font-family: var(--body); white-space: nowrap; display: flex; align-items: center;
}
.dash-tab:hover  { color: var(--text); }
.dash-tab.active { color: var(--accent); border-bottom-color: var(--accent); }

.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* ── OFFER ROWS ─────────────────────────────────────────────────────────── */
.offers-list { display: flex; flex-direction: column; gap: 12px; }
.offer-row {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 18px 22px; display: flex; align-items: center; gap: 16px;
  transition: border-color 0.15s;
}
.offer-row:hover { border-color: var(--border2); }
.offer-row-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.offer-from { font-weight: 600; font-size: 15px; }
.offer-time { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.offer-arrow-wrap { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; flex-wrap: wrap; }
.offer-product-box { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 7px 12px; }
.offer-pname { font-weight: 500; font-size: 13px; margin-bottom: 1px; }
.offer-purl  { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.offer-sep   { color: var(--muted); font-size: 18px; }
.offer-note  { margin-top: 8px; font-size: 13px; color: var(--muted); font-style: italic; }
.offer-actions { display: flex; gap: 8px; flex-shrink: 0; }

.listing-logo-sm {
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 800; font-size: 14px; flex-shrink: 0;
}

/* ── CHAT ───────────────────────────────────────────────────────────────── */
.chat-wrap { max-width: 800px; margin: 0 auto; padding: 36px 32px 60px; }
.chat-container { border-radius: 14px; overflow: hidden; border: 1px solid var(--border); }
.chat-header {
  background: var(--surface); padding: 18px 22px;
  display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--border);
}
.chat-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; flex-shrink: 0; overflow: hidden;
}
.chat-avatar img { width: 100%; height: 100%; object-fit: cover; }
.chat-partner-name { font-family: var(--display); font-weight: 700; font-size: 16px; }
.chat-partner-sub  { font-family: var(--mono); font-size: 11px; color: var(--accent); }
.chat-trade-bar {
  background: rgba(108,99,255,0.07); border-bottom: 1px solid rgba(108,99,255,0.15);
  padding: 10px 22px; font-family: var(--mono); font-size: 12px; color: var(--muted);
}
.chat-messages {
  background: var(--surface); padding: 22px; min-height: 360px; max-height: 420px;
  display: flex; flex-direction: column; gap: 14px;
  overflow-y: auto;
}
.msg { display: flex; gap: 10px; max-width: 80%; }
.msg.me { align-self: flex-end; flex-direction: row-reverse; }
.msg-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; flex-shrink: 0; overflow: hidden;
}
.msg-avatar img { width: 100%; height: 100%; object-fit: cover; }
.msg-bubble { padding: 10px 14px; border-radius: 12px; font-size: 14px; line-height: 1.5; word-break: break-word; }
.msg.them .msg-bubble { background: var(--surface2); border: 1px solid var(--border); border-radius: 4px 12px 12px 12px; }
.msg.me   .msg-bubble { background: var(--accent); color: #fff; border-radius: 12px 4px 12px 12px; }
.msg-time { font-family: var(--mono); font-size: 10px; color: var(--muted); margin-top: 4px; }
.msg.them .msg-time { text-align: left; }
.msg.me   .msg-time { text-align: right; }
.chat-input-area {
  background: var(--surface2); padding: 14px 18px;
  display: flex; gap: 12px; align-items: flex-end; border-top: 1px solid var(--border);
}
.chat-input {
  flex: 1; background: var(--bg); border: 1px solid var(--border); border-radius: 8px;
  padding: 10px 14px; color: var(--text); font-family: var(--body); font-size: 14px;
  outline: none; transition: border-color 0.2s; resize: none; line-height: 1.5;
}
.chat-input:focus { border-color: var(--accent); }

/* ── EMPTY STATE ────────────────────────────────────────────────────────── */
.empty-state { text-align: center; padding: 64px 20px; color: var(--muted); }
.empty-icon  { font-size: 40px; margin-bottom: 16px; }
.empty-state h3 { font-family: var(--display); font-size: 18px; color: var(--text); margin-bottom: 8px; }
.empty-state p  { font-size: 14px; line-height: 1.6; }
.empty-state a  { color: var(--accent); }

/* ── FOOTER ─────────────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--border); margin-top: auto; position: relative; z-index: 1; }
.footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 32px 32px;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}

/* ── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-inner   { padding: 12px 16px; }
  .hero        { padding: 64px 16px 48px; }
  .hero-stats  { gap: 24px; }
  .section-wrap, .detail-wrap, .form-page-wrap, .dash-wrap, .chat-wrap { padding-left: 16px; padding-right: 16px; }
  .detail-body { grid-template-columns: 1fr; }
  .offer-card  { position: static; }
  .info-grid   { grid-template-columns: 1fr 1fr; }
  .listings-grid { grid-template-columns: 1fr; }
  .slot-grid   { grid-template-columns: repeat(3, 1fr); }
  .offer-row   { flex-wrap: wrap; }
  .offer-actions { width: 100%; justify-content: flex-end; }
  .dash-header { flex-wrap: wrap; gap: 12px; }
  .how-section { padding: 40px 16px; }
}
