/* ============================================
   07-pages.css — Auth, detail, orders, wallet, create gig
   ============================================ */

/* ---------- AUTH SCREEN ---------- */
.auth-screen {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-5);
}

.auth-card {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--r-xl);
  padding: var(--space-8);
  width: 100%;
  max-width: 440px;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-xl);
}

.auth-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  justify-content: center;
  margin-bottom: var(--space-5);
  font-size: var(--fs-xl);
  font-weight: 700;
  letter-spacing: -0.5px;
}

.auth-logo .logo-mark {
  width: 36px;
  height: 36px;
  font-size: 16px;
}

.auth-card h2 {
  font-size: var(--fs-2xl);
  font-weight: 700;
  letter-spacing: -0.6px;
  margin-bottom: 5px;
  text-align: center;
  color: var(--text);
}

.auth-card > p {
  color: var(--muted-2);
  text-align: center;
  font-size: var(--fs-sm);
  margin-bottom: var(--space-6);
}

.auth-tabs {
  display: flex;
  background: var(--surface-2);
  border-radius: var(--r-md);
  padding: 4px;
  margin-bottom: var(--space-5);
}

.auth-tab {
  flex: 1;
  padding: 9px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--muted-2);
  border-radius: var(--r-sm);
  transition: all var(--t-fast);
}

.auth-tab.on {
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}

.auth-info {
  background: var(--surface-2);
  border: 1px dashed var(--border-2);
  border-radius: var(--r-md);
  padding: var(--space-3);
  margin-top: var(--space-4);
  font-size: var(--fs-xs);
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
}

.auth-info strong {
  color: var(--accent);
  font-weight: 600;
}

/* ---------- GIG DETAIL ---------- */
.detail-wrap {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--space-6);
}

.detail-hero {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: var(--space-4);
}

.detail-hero-img {
  height: 260px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-hero-info {
  padding: var(--space-5) var(--space-6);
}

.detail-hero h1 {
  font-size: var(--fs-2xl);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--space-3);
  letter-spacing: -0.4px;
  color: var(--text);
}

.detail-meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  font-size: var(--fs-xs);
  color: var(--muted-2);
}

.detail-meta > div {
  display: flex;
  align-items: center;
  gap: 5px;
}

.detail-meta .star {
  color: var(--amber);
}

.detail-section {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  padding: var(--space-5) var(--space-6);
  margin-bottom: var(--space-4);
}

.detail-section h3 {
  font-size: var(--fs-md);
  font-weight: 600;
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: -0.2px;
  color: var(--text);
}

.detail-section h3 i {
  color: var(--accent);
  font-size: 18px;
}

.detail-section p {
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--muted-2);
}

.detail-side {
  position: sticky;
  top: 80px;
  align-self: start;
}

/* ---------- PRICE / PACKAGE CARD ---------- */
.pkg-tabs {
  display: flex;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 3px;
  margin-bottom: var(--space-3);
}

.pkg-tab {
  flex: 1;
  padding: 9px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--muted-2);
  border-radius: var(--r-sm);
  text-align: center;
  transition: all var(--t-fast);
}

.pkg-tab.on {
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 0 0 1px var(--border-2);
}

.pkg-card {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  padding: var(--space-5);
}

.pkg-name {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 5px;
}

.pkg-title {
  font-size: var(--fs-sm);
  font-weight: 500;
  margin-bottom: var(--space-3);
  color: var(--muted-2);
}

.pkg-price {
  font-size: var(--fs-3xl);
  font-weight: 700;
  color: var(--accent);
  font-family: 'IBM Plex Mono', monospace;
  margin-bottom: var(--space-3);
  letter-spacing: -1px;
  line-height: 1;
}

.pkg-price small {
  font-size: var(--fs-sm);
  color: var(--muted);
  font-weight: 400;
}

.pkg-meta {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-3) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-3);
}

.pkg-meta-item {
  font-size: var(--fs-xs);
  color: var(--muted-2);
  display: flex;
  align-items: center;
  gap: 5px;
}

.pkg-meta-item i {
  font-size: 14px;
  color: var(--accent);
}

.pkg-features {
  margin-bottom: var(--space-4);
}

.pkg-feat {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 0;
  font-size: var(--fs-xs);
  color: var(--muted-2);
}

.pkg-feat i {
  color: var(--accent);
  font-size: 14px;
}

/* ---------- ORDER SUMMARY ---------- */
.order-summary {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--space-4);
  margin-bottom: var(--space-4);
}

.os-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  font-size: var(--fs-xs);
  border-bottom: 1px dashed var(--border);
}

.os-row:last-child {
  border: none;
  padding-top: var(--space-3);
  font-weight: 600;
  font-size: var(--fs-sm);
}

.os-row .val {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--text);
}

.os-row .acc {
  color: var(--accent);
}

/* ---------- MY ORDERS ---------- */
.orders-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.order-row {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  padding: var(--space-4);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: var(--space-4);
  align-items: center;
  transition: all var(--t-fast);
}

.order-row:hover {
  border-color: var(--border-3);
}

.order-thumb {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--accent);
}

.order-info h4 {
  font-size: var(--fs-sm);
  font-weight: 500;
  margin-bottom: 2px;
  letter-spacing: -0.1px;
  color: var(--text);
}

.order-info p {
  font-size: 10px;
  color: var(--muted);
  font-family: 'IBM Plex Mono', monospace;
}

.order-status {
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--r-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.st-active    { background: var(--blue-soft);   color: var(--blue-text);   border: 1px solid rgba(59, 130, 246, 0.25); }
.st-delivered { background: var(--amber-soft);  color: var(--amber-text);  border: 1px solid rgba(245, 158, 11, 0.25); }
.st-completed { background: var(--accent-soft); color: var(--accent-text); border: 1px solid rgba(16, 185, 129, 0.25); }
.st-disputed  { background: var(--red-soft);    color: var(--red-text);    border: 1px solid rgba(239, 68, 68, 0.25); }
.st-pending   { background: var(--purple-soft); color: var(--purple-text); border: 1px solid rgba(168, 85, 247, 0.25); }

.order-actions {
  display: flex;
  gap: 5px;
}

.order-amt {
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--accent);
  font-family: 'IBM Plex Mono', monospace;
  text-align: right;
}

/* ---------- WALLET ---------- */
.wallet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.wallet-card {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  padding: var(--space-6);
  position: relative;
  overflow: hidden;
}

.wallet-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1), transparent 70%);
  border-radius: 50%;
}

.wallet-card.wallet-locked::before {
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1), transparent 70%);
}

.wallet-card-head {
  font-size: var(--fs-xs);
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  gap: 6px;
}

.wallet-card-head i { font-size: 16px; }

.wallet-amount {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -1.2px;
  color: var(--accent);
  font-family: 'IBM Plex Mono', monospace;
  margin-bottom: var(--space-2);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.wallet-card.wallet-locked .wallet-amount {
  color: var(--blue-text);
}

.wallet-suffix {
  font-size: var(--fs-sm);
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0;
}

.wallet-sub {
  font-size: var(--fs-xs);
  color: var(--muted);
  margin-bottom: var(--space-4);
}

.wallet-actions {
  display: flex;
  gap: var(--space-2);
  position: relative;
  z-index: 1;
}

/* ---------- TX LIST ---------- */
.tx-list {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.tx-list-head {
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tx-list-head h3 {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text);
}

.tx-count {
  color: var(--muted);
  font-size: var(--fs-xs);
}

.tx-row {
  padding: var(--space-3) var(--space-5);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--space-3);
  align-items: center;
  border-bottom: 1px solid var(--border);
  transition: background var(--t-fast);
}

.tx-row:last-child {
  border-bottom: none;
}

.tx-row:hover {
  background: var(--surface-2);
}

.tx-ico {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.tx-ico.in   { background: var(--accent-soft); color: var(--accent-text); }
.tx-ico.out  { background: var(--red-soft);    color: var(--red-text);    }
.tx-ico.lock { background: var(--blue-soft);   color: var(--blue-text);   }

.tx-info h5 {
  font-size: var(--fs-xs);
  font-weight: 500;
  margin-bottom: 1px;
  color: var(--text);
}

.tx-info p {
  font-size: 10px;
  color: var(--muted);
  font-family: 'IBM Plex Mono', monospace;
}

.tx-amt {
  font-size: var(--fs-sm);
  font-weight: 600;
  font-family: 'IBM Plex Mono', monospace;
}

.tx-amt.in   { color: var(--accent-text); }
.tx-amt.out  { color: var(--red-text);    }
.tx-amt.lock { color: var(--blue-text);   }

/* ---------- CREATE GIG MODE TOGGLE ---------- */
.mode-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.mode-opt {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--space-4);
  cursor: pointer;
  transition: all var(--t-fast);
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}

.mode-opt:hover {
  border-color: var(--border-2);
}

.mode-opt.on {
  border-color: var(--accent);
  background: rgba(16, 185, 129, 0.04);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.mode-radio {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--border-3);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.mode-opt.on .mode-radio {
  border-color: var(--accent);
}

.mode-opt.on .mode-radio::after {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
}

.mode-opt h4 {
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: 2px;
  color: var(--text);
}

.mode-opt p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
}

/* ---------- CATEGORY GRID ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
}

.cat-option {
  padding: var(--space-3);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  text-align: center;
  transition: all var(--t-fast);
  cursor: pointer;
}

.cat-option:hover {
  border-color: var(--border-2);
}

.cat-option.sel {
  background: var(--accent-soft);
  border-color: rgba(16, 185, 129, 0.3);
}

.cat-option i {
  font-size: 18px;
  color: var(--muted-2);
  margin-bottom: 4px;
  display: block;
}

.cat-option.sel i {
  color: var(--accent);
}

.cat-option .name {
  font-size: 11px;
  font-weight: 500;
  color: var(--text);
}

.cat-option.sel .name {
  color: var(--accent);
}

/* ---------- TAG INPUT ---------- */
.tag-input-wrap {
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  padding: 6px;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  align-items: center;
  min-height: 44px;
}

.tag-chip {
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: var(--r-sm);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.tag-chip .x {
  cursor: pointer;
  font-size: 12px;
  opacity: 0.7;
}

.tag-input-wrap input {
  background: transparent;
  border: none;
  outline: none;
  flex: 1;
  min-width: 120px;
  padding: 3px;
  color: var(--text);
  font-size: var(--fs-sm);
  height: auto;
}

/* ---------- PACKAGE INPUT ROW ---------- */
.pkg-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
}

.pkg-input {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: var(--space-3);
}

.pkg-input-name {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-2);
}

.pkg-input.basic .pkg-input-name { color: var(--blue); }
.pkg-input.std .pkg-input-name   { color: var(--accent); }
.pkg-input.prem .pkg-input-name  { color: var(--purple); }

.pkg-input input,
.pkg-input textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-2);
  border-radius: 6px;
  padding: 5px 9px;
  color: var(--text);
  font-size: 11px;
  outline: none;
  margin-bottom: 5px;
  font-family: 'IBM Plex Mono', monospace;
  height: auto;
}

.pkg-input label {
  font-size: 9px;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 600;
  display: block;
  margin-bottom: 3px;
  letter-spacing: 0.5px;
}

.pkg-input textarea {
  font-family: 'Inter', sans-serif;
  min-height: 42px;
  resize: vertical;
  line-height: 1.4;
}

/* ============================================
   ADMIN PANEL
   ============================================ */
.admin-tabs {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-5);
  border-bottom: 1px solid var(--border-2);
  overflow-x: auto;
}

.admin-tab {
  padding: 10px 14px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--muted-2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  transition: all var(--t-fast);
}

.admin-tab:hover {
  color: var(--text);
}

.admin-tab.on {
  color: var(--blue-text);
  border-bottom-color: var(--blue);
}

.admin-tab i { font-size: 15px; }

.admin-tab-count {
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 1px 7px;
  border-radius: var(--r-full);
  font-size: 10px;
  font-weight: 600;
  color: var(--muted-2);
  font-family: 'IBM Plex Mono', monospace;
}

.admin-tab.on .admin-tab-count {
  background: var(--blue-soft);
  border-color: rgba(59, 130, 246, 0.25);
  color: var(--blue-text);
}

.admin-card {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  padding: var(--space-6);
  margin-bottom: var(--space-4);
}

.admin-card h3 {
  font-size: var(--fs-md);
  font-weight: 600;
  margin-bottom: var(--space-4);
  letter-spacing: -0.2px;
  color: var(--text);
}

.admin-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
  gap: var(--space-3);
}

.admin-card-head h3 { margin-bottom: 0; }

.admin-card-desc {
  font-size: var(--fs-xs);
  color: var(--muted-2);
  margin-top: calc(var(--space-4) * -1 + 4px);
  margin-bottom: var(--space-4);
  line-height: 1.5;
}

.admin-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.admin-quick-buttons {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.admin-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-row {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 11px var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  transition: all var(--t-fast);
}

.admin-row:hover {
  border-color: var(--border-2);
  background: var(--bg-elevated);
}

.admin-row-info {
  flex: 1;
  min-width: 0;
}

.admin-row-title {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text);
  margin-bottom: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-row-meta {
  font-size: 11px;
  color: var(--muted-2);
  font-family: 'IBM Plex Mono', monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-row-actions {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
  align-items: center;
}

.admin-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-2);
  font-size: 14px;
  transition: all var(--t-fast);
}

.admin-icon-btn:hover {
  background: var(--bg-elevated);
  color: var(--text);
  border-color: var(--border-3);
}

.admin-icon-btn.danger:hover {
  background: var(--red-soft);
  border-color: rgba(239, 68, 68, 0.35);
  color: var(--red-text);
}

.admin-select {
  padding: 0 28px 0 10px;
  height: 32px;
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: var(--fs-xs);
  cursor: pointer;
  appearance: none;
  font-weight: 500;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
}

.admin-danger-btn {
  border-color: rgba(239, 68, 68, 0.25) !important;
  color: var(--red-text) !important;
}

.admin-danger-btn:hover {
  background: var(--red-soft) !important;
  border-color: rgba(239, 68, 68, 0.4) !important;
}

@media (max-width: 768px) {
  .admin-grid-2 {
    grid-template-columns: 1fr;
  }
  .admin-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .admin-row-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

/* ============================================
   CONTENT PAGES (About, How It Works, FAQ, Privacy, etc.)
   ============================================ */
.content-page {
  max-width: 820px;
}

.content-section {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  padding: var(--space-6) var(--space-8);
  margin-bottom: var(--space-3);
}

.content-section h2 {
  font-size: var(--fs-xl);
  font-weight: 600;
  margin-bottom: var(--space-4);
  letter-spacing: -0.3px;
  color: var(--text);
}

.content-section h3 {
  font-size: var(--fs-md);
  font-weight: 600;
  margin: var(--space-4) 0 var(--space-2);
  color: var(--text);
  letter-spacing: -0.1px;
}

.content-section p {
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--muted-2);
  margin-bottom: var(--space-3);
}

.content-section p:last-child { margin-bottom: 0; }
.content-section strong { color: var(--text); font-weight: 600; }

.content-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: var(--space-3);
}

.content-list li {
  font-size: var(--fs-sm);
  line-height: 1.65;
  color: var(--muted-2);
  padding-left: 26px;
  position: relative;
}

.content-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  background: var(--accent-soft);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 50%;
}

.content-list li::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* About stats */
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}

.about-stat {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--space-4);
  text-align: center;
}

.about-stat .num {
  font-size: var(--fs-2xl);
  font-weight: 700;
  font-family: 'IBM Plex Mono', monospace;
  color: var(--accent-text);
  letter-spacing: -0.6px;
  line-height: 1;
  margin-bottom: 6px;
}

.about-stat .lbl {
  font-size: 11px;
  color: var(--muted-2);
  line-height: 1.4;
}

/* How it works steps */
.how-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-3);
}

.how-step {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--space-4);
}

.how-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--fs-xs);
  margin-bottom: var(--space-3);
  font-family: 'IBM Plex Mono', monospace;
}

.how-step h3 {
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: 6px;
  margin-top: 0;
  color: var(--text);
}

.how-step p {
  font-size: var(--fs-xs);
  line-height: 1.55;
  color: var(--muted-2);
  margin-bottom: 0;
}

/* Trust pillars */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

.pillar {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--space-4);
}

.pillar > i {
  font-size: 26px;
  color: var(--blue);
  margin-bottom: var(--space-3);
  display: block;
}

.pillar h3 {
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: 6px;
  margin-top: 0;
  color: var(--text);
}

.pillar p {
  font-size: var(--fs-xs);
  line-height: 1.55;
  color: var(--muted-2);
  margin-bottom: 0;
}

/* Support cards */
.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

.support-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--space-4);
  text-decoration: none;
  display: block;
  transition: all var(--t-fast);
  cursor: pointer;
}

.support-card:hover {
  background: var(--bg-elevated);
  border-color: var(--blue);
  transform: translateY(-2px);
}

.support-card > i {
  font-size: 24px;
  color: var(--blue);
  margin-bottom: var(--space-3);
  display: block;
}

.support-card h3 {
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: 4px;
  margin-top: 0;
  color: var(--text);
}

.support-card p {
  font-size: var(--fs-xs);
  line-height: 1.5;
  color: var(--muted-2);
  margin-bottom: 0;
}

/* FAQ accordion */
.faq-item {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  margin-bottom: 6px;
  overflow: hidden;
  transition: all var(--t-fast);
}

.faq-item[open] {
  background: var(--bg-elevated);
  border-color: var(--border-2);
}

.faq-item summary {
  padding: 14px 18px;
  font-size: var(--fs-sm);
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
  gap: 12px;
}

.faq-item summary::after {
  content: '+';
  color: var(--muted-2);
  font-size: 22px;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform var(--t-fast);
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-content {
  padding: 4px 18px 16px;
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--muted-2);
}

/* Fee/Cookie table */
.fee-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-3) 0;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}

.fee-table th, .fee-table td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-sm);
}

.fee-table tbody tr:last-child td { border-bottom: none; }

.fee-table th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted-2);
  font-weight: 600;
  background: var(--surface-2);
}

.fee-table td {
  color: var(--muted-2);
}

.fee-table td:first-child {
  color: var(--text);
  font-weight: 500;
}

.fee-table td:last-child {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--accent-text);
  font-weight: 600;
}

@media (max-width: 768px) {
  .content-section { padding: var(--space-4) var(--space-5); }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .how-steps, .pillars-grid, .support-grid { grid-template-columns: 1fr; }
  .fee-table th, .fee-table td { padding: 8px 10px; font-size: var(--fs-xs); }
}

/* ============================================
   LANDING PAGE
   ============================================ */
.landing-screen {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-12) var(--space-8) var(--space-16);
}

.landing-hero {
  text-align: center;
  padding: var(--space-12) 0 var(--space-16);
  max-width: 760px;
  margin: 0 auto;
}

.landing-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--accent-text);
  background: var(--accent-soft);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 6px 14px;
  border-radius: var(--r-full);
  margin-bottom: var(--space-5);
}

.landing-eyebrow i { font-size: 14px; }

.landing-title {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -1.6px;
  line-height: 1.1;
  margin-bottom: var(--space-5);
  color: var(--text);
}

.landing-sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted-2);
  max-width: 620px;
  margin: 0 auto var(--space-6);
}

.landing-cta {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}

.btn-large {
  height: 52px !important;
  padding: 0 var(--space-6) !important;
  font-size: var(--fs-md) !important;
  border-radius: var(--r-md);
}

.landing-trust {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.landing-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}

.landing-feature {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  padding: var(--space-6);
  transition: all var(--t-base);
}

.landing-feature:hover {
  transform: translateY(-3px);
  border-color: var(--border-3);
  box-shadow: var(--shadow-md);
}

.landing-feat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: var(--space-4);
}

.landing-feature h3 {
  font-size: var(--fs-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
  letter-spacing: -0.2px;
  color: var(--text);
}

.landing-feature p {
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--muted-2);
  margin-bottom: var(--space-3);
}

.landing-feat-link {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--blue-text);
  cursor: pointer;
  text-decoration: none;
}

.landing-feat-link:hover { text-decoration: underline; }

.landing-cta-block {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--r-xl);
  padding: var(--space-12) var(--space-8);
  text-align: center;
}

.landing-cta-block h2 {
  font-size: var(--fs-3xl);
  font-weight: 700;
  letter-spacing: -0.8px;
  margin-bottom: var(--space-3);
  color: var(--text);
}

.landing-cta-block p {
  font-size: var(--fs-md);
  color: var(--muted-2);
  margin-bottom: var(--space-5);
}

/* ============================================
   AUTH SCREEN — back link
   ============================================ */
.auth-back {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: var(--space-4);
  font-size: var(--fs-xs);
  color: var(--muted-2);
  cursor: pointer;
  transition: color var(--t-fast);
}

.auth-back:hover {
  color: var(--text);
}

/* ============================================
   KYC BANNER
   ============================================ */
.kyc-banner {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 10px var(--space-6);
  font-size: var(--fs-sm);
  font-weight: 500;
  position: sticky;
  top: 64px;
  z-index: 50;
}

.kyc-banner > i { font-size: 18px; flex-shrink: 0; }

.kyc-banner-text { flex: 1; }

.kyc-banner-btn {
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--r-sm);
  cursor: pointer;
  white-space: nowrap;
  color: inherit;
}

.kyc-warn  { background: rgba(245, 158, 11, 0.10); color: var(--amber-text); border-bottom: 1px solid rgba(245, 158, 11, 0.2); }
.kyc-info  { background: rgba(59, 130, 246, 0.08); color: var(--blue-text); border-bottom: 1px solid rgba(59, 130, 246, 0.15); }
.kyc-error { background: var(--red-soft);  color: var(--red-text); border-bottom: 1px solid rgba(239, 68, 68, 0.15); }

/* ============================================
   KYC STATUS BADGES
   ============================================ */
.kyc-status-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--r-full);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  white-space: nowrap;
}

.kyc-ok-badge   { background: var(--accent-soft); color: var(--accent-text); border: 1px solid rgba(16, 185, 129, 0.25); }
.kyc-info-badge { background: var(--blue-soft);   color: var(--blue-text);   border: 1px solid rgba(59, 130, 246, 0.25); }
.kyc-warn-badge { background: var(--amber-soft);  color: var(--amber-text);  border: 1px solid rgba(245, 158, 11, 0.25); }
.kyc-err-badge  { background: var(--red-soft);    color: var(--red-text);    border: 1px solid rgba(239, 68, 68, 0.25); }

/* ============================================
   KYC UPLOAD GRID
   ============================================ */
.kyc-upload-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.kyc-upload {
  background: var(--surface-2);
  border: 2px dashed var(--border-3);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all var(--t-fast);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.kyc-upload:hover {
  border-color: var(--accent);
  background: var(--bg-elevated);
}

.kyc-preview {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: var(--fs-xs);
  color: var(--muted-2);
}

.kyc-preview i { font-size: 28px; }

/* ============================================
   2FA STATUS
   ============================================ */
.tfa-status {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}

.tfa-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.tfa-icon.on  { background: var(--accent-soft); color: var(--accent-text); }
.tfa-icon.off { background: var(--surface-3); color: var(--muted-2); }

.tfa-info { flex: 1; }

.tfa-label {
  font-size: var(--fs-sm);
  font-weight: 500;
  margin-bottom: 2px;
}

.tfa-desc {
  font-size: var(--fs-xs);
  color: var(--muted);
}

/* ============================================
   WALLET ADDRESSES (Deposits)
   ============================================ */
.wallet-address-block {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--space-3);
  margin-bottom: var(--space-2);
}

.wallet-net-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--muted-2);
  margin-bottom: 6px;
}

.wallet-addr-row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.wallet-addr-row code {
  flex: 1;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 7px 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
}

/* ============================================
   ADMIN OVERVIEW
   ============================================ */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.overview-card {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  padding: var(--space-4);
}

.overview-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
  color: var(--muted-2);
  margin-bottom: var(--space-2);
}

.overview-value {
  font-size: var(--fs-3xl);
  font-weight: 700;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: -0.8px;
  line-height: 1;
  color: var(--text);
  margin-bottom: 5px;
}

.overview-sub {
  font-size: 11px;
  color: var(--muted);
}

.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2);
}

.quick-action {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--space-4) var(--space-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all var(--t-fast);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--text);
  text-align: center;
}

.quick-action:hover {
  border-color: var(--blue);
  background: var(--blue-soft);
  color: var(--blue-text);
}

.quick-action i { font-size: 22px; }

/* ============================================
   DEPOSIT ADMIN ROW
   ============================================ */
.deposit-row {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-2);
}

.deposit-info { flex: 1; min-width: 0; }

.deposit-title {
  font-size: var(--fs-sm);
  font-weight: 500;
  margin-bottom: 4px;
  color: var(--text);
}

.deposit-hash {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  margin-bottom: 3px;
}

.deposit-hash code {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--muted-2);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 4px;
}

.explorer-link {
  color: var(--blue-text);
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  text-decoration: none;
}

.explorer-link:hover { text-decoration: underline; }

.deposit-meta {
  font-size: 10px;
  color: var(--muted);
  font-family: 'IBM Plex Mono', monospace;
}

.deposit-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

/* KYC review row */
.kyc-review-row {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-2);
}

.kyc-review-info { flex: 1; }
.kyc-review-title {
  font-size: var(--fs-sm);
  font-weight: 500;
  margin-bottom: 3px;
  color: var(--text);
}
.kyc-review-meta {
  font-size: 11px;
  color: var(--muted-2);
}
.kyc-review-actions {
  display: flex;
  gap: 6px;
}

/* Admin nav link in topnav */
.admin-nav-link {
  color: var(--purple-text) !important;
  background: rgba(168, 85, 247, 0.08);
}
.admin-nav-link:hover {
  background: rgba(168, 85, 247, 0.15) !important;
}
.admin-nav-link.active {
  background: rgba(168, 85, 247, 0.18) !important;
}

@media (max-width: 768px) {
  .landing-title { font-size: 36px; }
  .landing-sub { font-size: 15px; }
  .landing-features { grid-template-columns: 1fr; }
  .overview-grid { grid-template-columns: 1fr 1fr; }
  .quick-actions-grid { grid-template-columns: 1fr 1fr; }
  .kyc-upload-grid { grid-template-columns: 1fr; }
  .deposit-row, .kyc-review-row { flex-direction: column; align-items: stretch; }
  .deposit-actions, .kyc-review-actions { width: 100%; }
}
