/* ============================================================
   USDT Merchant Risk Center - Global Styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg-primary: #050810;
  --bg-secondary: #0a0e1a;
  --bg-card: rgba(255,255,255,0.04);
  --bg-card-hover: rgba(255,255,255,0.07);
  --border-color: rgba(255,255,255,0.08);
  --border-hover: rgba(0,212,255,0.3);
  --text-primary: #f0f4ff;
  --text-secondary: #8892a4;
  --text-muted: #4a5568;
  --accent-cyan: #00d4ff;
  --accent-blue: #4f6ef7;
  --accent-purple: #7c3aed;
  --risk-low: #22c55e;
  --risk-medium: #eab308;
  --risk-high: #f97316;
  --risk-critical: #ef4444;
  --gradient-1: linear-gradient(135deg, #00d4ff 0%, #4f6ef7 100%);
  --gradient-2: linear-gradient(135deg, #4f6ef7 0%, #7c3aed 100%);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 30px rgba(0,212,255,0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --nav-height: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: rgba(79,110,247,0.4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-cyan); }

/* ── Selection ── */
::selection { background: rgba(0,212,255,0.2); color: var(--accent-cyan); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(5,8,16,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}
.navbar.scrolled {
  background: rgba(5,8,16,0.95);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.nav-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.nav-logo-text {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.3px;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.lang-selector {
  position: relative;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
}
.lang-btn:hover { border-color: var(--border-hover); color: var(--text-primary); }
.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #111827;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 6px;
  min-width: 160px;
  display: none;
  z-index: 100;
  box-shadow: var(--shadow-card);
}
.lang-dropdown.open { display: block; }
.lang-dropdown a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-secondary);
  transition: all 0.15s ease;
}
.lang-dropdown a:hover { background: var(--bg-card-hover); color: var(--text-primary); }
.lang-dropdown a.active { color: var(--accent-cyan); }
.btn-login {
  padding: 8px 16px;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}
.btn-login:hover { border-color: var(--border-hover); color: var(--text-primary); }
.btn-register {
  padding: 8px 18px;
  background: var(--gradient-1);
  border: none;
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: 0 0 20px rgba(0,212,255,0.2);
}
.btn-register:hover { opacity: 0.9; box-shadow: 0 0 30px rgba(0,212,255,0.35); transform: translateY(-1px); }
.nav-mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 8px;
  color: var(--text-secondary);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(5,8,16,0.3) 0%, rgba(5,8,16,0.7) 60%, var(--bg-primary) 100%);
}
.hero-container {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: center;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.25);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-cyan);
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.hero-badge span { width: 6px; height: 6px; background: var(--accent-cyan); border-radius: 50%; animation: pulse 2s infinite; }
.hero-title {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.hero-title .gradient-text {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 560px;
}
.hero-search {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 6px 6px 6px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 600px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}
.hero-search:focus-within {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.1), var(--shadow-glow);
}
.hero-search input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 15px;
  padding: 10px 0;
}
.hero-search input::placeholder { color: var(--text-muted); }
.hero-search-btn {
  padding: 12px 24px;
  background: var(--gradient-1);
  border: none;
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.hero-search-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.hero-search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.hero-search-tags span {
  font-size: 12px;
  color: var(--text-muted);
}
.hero-search-tags a {
  font-size: 12px;
  color: var(--text-secondary);
  padding: 3px 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  transition: all 0.2s ease;
}
.hero-search-tags a:hover { border-color: var(--border-hover); color: var(--accent-cyan); }
.hero-register-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 32px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.hero-register-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.hero-register-card p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}
.hero-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
}
.hero-feature-item .check {
  width: 18px;
  height: 18px;
  background: rgba(0,212,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-cyan);
  font-size: 10px;
}
.btn-register-hero {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--gradient-1);
  border: none;
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  transition: all 0.2s ease;
  box-shadow: 0 4px 20px rgba(0,212,255,0.25);
}
.btn-register-hero:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,212,255,0.35); }
.hero-login-hint {
  text-align: center;
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-muted);
}
.hero-login-hint a { color: var(--accent-cyan); }

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section {
  padding: 60px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.section-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat-card {
  background: var(--bg-secondary);
  padding: 28px 24px;
  text-align: center;
  transition: all 0.3s ease;
}
.stat-card:hover { background: var(--bg-card-hover); }
.stat-value {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.stat-change {
  font-size: 11px;
  color: var(--risk-low);
  margin-top: 4px;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  margin-bottom: 40px;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(79,110,247,0.1);
  border: 1px solid rgba(79,110,247,0.25);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-blue);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}
.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
}

/* ============================================================
   RISK TABLE SECTION
   ============================================================ */
.risk-table-section {
  padding: 80px 0;
}
.table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.table-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  min-width: 260px;
  transition: all 0.2s ease;
}
.table-search:focus-within { border-color: var(--border-hover); }
.table-search input {
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 14px;
  width: 100%;
}
.table-search input::placeholder { color: var(--text-muted); }
.table-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 7px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}
.filter-btn:hover, .filter-btn.active { border-color: var(--border-hover); color: var(--text-primary); background: rgba(0,212,255,0.05); }
.data-table-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
}
.data-table thead th {
  padding: 14px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s;
}
.data-table thead th:hover { color: var(--text-secondary); }
.data-table thead th .sort-icon { margin-left: 4px; opacity: 0.4; }
.data-table tbody tr {
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.15s ease;
}
.data-table tbody tr:last-child { border-bottom: none; }
.data-table tbody tr:hover { background: rgba(255,255,255,0.03); }
.data-table tbody td {
  padding: 14px 16px;
  font-size: 13px;
  color: var(--text-secondary);
  white-space: nowrap;
}
.merchant-name {
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.merchant-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gradient-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.wallet-addr {
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: var(--text-muted);
}
.amount-cell { font-weight: 600; color: var(--text-primary); }
.risk-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.risk-badge.low { background: rgba(34,197,94,0.12); color: var(--risk-low); border: 1px solid rgba(34,197,94,0.2); }
.risk-badge.medium { background: rgba(234,179,8,0.12); color: var(--risk-medium); border: 1px solid rgba(234,179,8,0.2); }
.risk-badge.high { background: rgba(249,115,22,0.12); color: var(--risk-high); border: 1px solid rgba(249,115,22,0.2); }
.risk-badge.critical { background: rgba(239,68,68,0.12); color: var(--risk-critical); border: 1px solid rgba(239,68,68,0.2); }
.risk-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
}
.status-badge.verified { background: rgba(34,197,94,0.1); color: var(--risk-low); }
.status-badge.pending { background: rgba(234,179,8,0.1); color: var(--risk-medium); }
.status-badge.reviewing { background: rgba(79,110,247,0.1); color: var(--accent-blue); }
.btn-detail {
  padding: 5px 12px;
  background: rgba(79,110,247,0.1);
  border: 1px solid rgba(79,110,247,0.2);
  border-radius: var(--radius-sm);
  color: var(--accent-blue);
  font-size: 12px;
  font-weight: 500;
  transition: all 0.2s ease;
}
.btn-detail:hover { background: rgba(79,110,247,0.2); border-color: var(--accent-blue); }
.table-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-top: 1px solid var(--border-color);
  font-size: 13px;
  color: var(--text-muted);
}
.pagination-btns { display: flex; gap: 4px; }
.page-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 13px;
  transition: all 0.2s ease;
}
.page-btn:hover, .page-btn.active { background: var(--accent-blue); border-color: var(--accent-blue); color: #fff; }

/* ============================================================
   RISK CATEGORIES
   ============================================================ */
.categories-section {
  padding: 80px 0;
  background: var(--bg-secondary);
}
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}
.category-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.category-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: rgba(79,110,247,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: all 0.3s ease;
}
.category-card:hover .category-icon { background: rgba(0,212,255,0.15); }
.category-name {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}
.category-count {
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================================
   TIMELINE / ACTIVITY
   ============================================================ */
.activity-section {
  padding: 80px 0;
}
.activity-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
}
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.timeline-item {
  display: flex;
  gap: 16px;
  padding-bottom: 24px;
  position: relative;
}
.timeline-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 32px;
  bottom: 0;
  width: 1px;
  background: var(--border-color);
}
.timeline-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.timeline-dot.new { background: rgba(239,68,68,0.15); color: var(--risk-critical); border: 1px solid rgba(239,68,68,0.25); }
.timeline-dot.evidence { background: rgba(79,110,247,0.15); color: var(--accent-blue); border: 1px solid rgba(79,110,247,0.25); }
.timeline-dot.verified { background: rgba(34,197,94,0.15); color: var(--risk-low); border: 1px solid rgba(34,197,94,0.25); }
.timeline-dot.update { background: rgba(234,179,8,0.15); color: var(--risk-medium); border: 1px solid rgba(234,179,8,0.25); }
.timeline-dot.appeal { background: rgba(124,58,237,0.15); color: var(--accent-purple); border: 1px solid rgba(124,58,237,0.25); }
.timeline-content { flex: 1; padding-top: 4px; }
.timeline-title { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.timeline-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
.timeline-time { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.alert-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  height: fit-content;
}
.alert-card-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.alert-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-color);
}
.alert-item:last-child { border-bottom: none; }
.alert-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.alert-icon.danger { background: rgba(239,68,68,0.1); }
.alert-icon.warning { background: rgba(249,115,22,0.1); }
.alert-icon.info { background: rgba(79,110,247,0.1); }
.alert-text { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
.alert-text strong { color: var(--text-primary); font-weight: 600; }
.alert-time { font-size: 11px; color: var(--text-muted); margin-top: 3px; }

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features-section {
  padding: 80px 0;
  background: var(--bg-secondary);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all 0.3s ease;
}
.feature-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
  background: rgba(79,110,247,0.1);
}
.feature-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   PROCESS SECTION
   ============================================================ */
.process-section {
  padding: 80px 0;
}
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-cyan), var(--accent-blue), var(--accent-purple));
  opacity: 0.3;
}
.process-step {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  position: relative;
}
.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--accent-cyan);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 20px rgba(0,212,255,0.2);
}
.step-content { padding-top: 12px; }
.step-title { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.step-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ============================================================
   PRINCIPLES SECTION
   ============================================================ */
.principles-section {
  padding: 80px 0;
  background: var(--bg-secondary);
}
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.principle-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  gap: 16px;
  transition: all 0.3s ease;
}
.principle-card:hover { border-color: var(--border-hover); background: var(--bg-card-hover); }
.principle-icon {
  font-size: 28px;
  flex-shrink: 0;
  margin-top: 2px;
}
.principle-title { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.principle-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* ============================================================
   DASHBOARD PREVIEW
   ============================================================ */
.dashboard-preview-section {
  padding: 80px 0;
  overflow: hidden;
}
.dashboard-img-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 60px rgba(0,212,255,0.08);
  position: relative;
}
.dashboard-img-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 70%, var(--bg-primary) 100%);
  z-index: 1;
  pointer-events: none;
}
.dashboard-img-wrapper img { display: block; width: 100%; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 280px repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.social-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--text-muted);
  transition: all 0.2s ease;
}
.social-btn:hover { border-color: var(--border-hover); color: var(--accent-cyan); }
.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--accent-cyan); }
.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copyright {
  font-size: 13px;
  color: var(--text-muted);
}
.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.footer-legal a:hover { color: var(--accent-cyan); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-up { animation: fadeInUp 0.6s ease forwards; }
.animate-fade { animation: fadeIn 0.4s ease forwards; }
[data-animate] { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-animate].visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE — 全面移动端优化
   ============================================================ */

/* ── 1200px 大屏平板 ── */
@media (max-width: 1200px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .activity-grid { grid-template-columns: 1fr 340px; }
}

/* ── 1024px 平板横屏 ── */
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; }
  .hero-register-card { max-width: 480px; }
  .categories-grid { grid-template-columns: repeat(4, 1fr); }
  .activity-grid { grid-template-columns: 1fr; }
  .principles-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}

/* ── 768px 平板竖屏 / 大手机 ── */
@media (max-width: 768px) {
  /* 导航 */
  .nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }
  .btn-login { display: none; }
  .nav-logo-text { font-size: 13px; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .lang-btn span#langBtnText { display: none; }

  /* Section 容器 */
  .section-container { padding: 0 16px; }

  /* Hero */
  .hero { min-height: auto; }
  .hero-title { font-size: clamp(26px, 6vw, 38px); letter-spacing: -0.8px; }
  .hero-subtitle { font-size: 15px; margin-bottom: 24px; }
  .hero-search { padding: 5px 5px 5px 14px; }
  .hero-search input { font-size: 14px; }
  .hero-search-btn { padding: 10px 16px; font-size: 13px; }
  .hero-search-tags { gap: 6px; }

  /* 统计 */
  .stats-section { padding: 32px 0; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 1px; }
  .stat-card { padding: 18px 12px; }
  .stat-value { font-size: 22px; }
  .stat-label { font-size: 10px; }
  .stat-change { font-size: 10px; }

  /* 风险表格区 */
  .risk-table-section { padding: 36px 0 48px; }
  .table-toolbar { flex-direction: column; align-items: stretch; gap: 10px; }
  .table-search { min-width: unset; width: 100%; }
  .table-filters { gap: 6px; }
  .filter-btn { padding: 6px 10px; font-size: 12px; }
  /* 表格横向滚动 */
  .data-table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .data-table { font-size: 12px; min-width: 680px; }
  .data-table thead th { padding: 10px 10px; font-size: 10px; }
  .data-table tbody td { padding: 10px 10px; }
  .merchant-avatar { width: 24px; height: 24px; font-size: 9px; }
  .risk-badge { font-size: 10px; padding: 2px 7px; }
  .status-badge { font-size: 10px; padding: 2px 7px; }
  .btn-detail { font-size: 11px; padding: 4px 9px; }
  .table-pagination { flex-direction: column; gap: 10px; align-items: center; padding: 12px 16px; }

  /* 分类 */
  .categories-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .category-card { padding: 16px 10px; }
  .category-icon { width: 40px; height: 40px; font-size: 18px; margin-bottom: 10px; }
  .category-name { font-size: 12px; }

  /* 动态区 */
  .activity-section { padding: 36px 0; }
  .activity-grid { grid-template-columns: 1fr; gap: 20px; }
  .alert-card { padding: 18px; }

  /* Footer */
  .footer { padding: 40px 0 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ── 480px 手机 ── */
@media (max-width: 480px) {
  /* 导航 */
  :root { --nav-height: 60px; }
  .nav-container { padding: 0 16px; }
  .nav-logo img { width: 28px; height: 28px; }
  .nav-logo-text { font-size: 12px; max-width: 120px; }
  .btn-register { padding: 7px 12px; font-size: 13px; }

  /* Hero */
  .hero-title { font-size: 26px; letter-spacing: -0.5px; }
  .hero-subtitle { font-size: 14px; }
  .hero-search { border-radius: var(--radius-md); }
  .hero-search-btn { padding: 9px 13px; font-size: 12px; white-space: nowrap; }

  /* 统计 — 2列 */
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-card { padding: 16px 10px; }
  .stat-value { font-size: 20px; }

  /* 表格 — 更紧凑 */
  .data-table { min-width: 560px; }
  .data-table thead th { padding: 8px 8px; }
  .data-table tbody td { padding: 8px 8px; }

  /* 分类 — 4列保持，字更小 */
  .categories-grid { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .category-card { padding: 12px 6px; }
  .category-icon { width: 32px; height: 32px; font-size: 15px; margin-bottom: 6px; }
  .category-name { font-size: 10px; }
  .category-count { font-size: 9px; }

  /* 时间轴 */
  .timeline-item { gap: 10px; }
  .timeline-dot { width: 26px; height: 26px; font-size: 11px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { font-size: 12px; }

  /* 通用 */
  .section-container { padding: 0 14px; }
  .section-title { font-size: 20px; }
  .section-desc { font-size: 14px; }
}

/* ── 360px 极小手机 ── */
@media (max-width: 360px) {
  .nav-logo-text { display: none; }
  .hero-title { font-size: 22px; }
  .hero-search-btn { padding: 8px 10px; font-size: 11px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-value { font-size: 18px; }
  .categories-grid { grid-template-columns: repeat(4, 1fr); }
  .filter-btn { padding: 5px 8px; font-size: 11px; }
}

/* ============================================================
   UTILITY
   ============================================================ */
.container { max-width: 1440px; margin: 0 auto; padding: 0 24px; }
.text-gradient { background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.glass { background: rgba(255,255,255,0.04); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--border-color); }
.divider { height: 1px; background: var(--border-color); margin: 0; }

/* Mobile Nav Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: rgba(5,8,16,0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 24px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}
.mobile-menu a:hover { background: var(--bg-card); color: var(--text-primary); }
.mobile-menu-actions {
  display: flex;
  gap: 10px;
  padding: 12px 0 4px;
  border-top: 1px solid var(--border-color);
  margin-top: 8px;
}

/* ============================================================
   MOBILE ENHANCEMENTS — 移动端专项增强
   ============================================================ */

/* 触摸友好：增大可点击区域 */
@media (max-width: 768px) {
  /* 移动端导航菜单链接更大点击区 */
  .mobile-menu a { padding: 14px 16px; font-size: 15px; }
  .mobile-menu-actions { padding: 14px 0 6px; }
  .mobile-menu-actions .btn-register { flex: 1; text-align: center; padding: 11px; }

  /* 语言切换按钮在移动端只显示图标 */
  .lang-btn { padding: 6px 8px; }
  .lang-dropdown { right: -10px; }

  /* Hero 区域移动端居中 */
  .hero-badge { justify-content: center; }
  .hero-search-tags { justify-content: center; }

  /* 分类快捷入口 — 移动端 8 列改为 4 列两行 */
  .category-shortcuts-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }

  /* 风险表格 section-header 移动端竖排 */
  .risk-table-section .section-header {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  /* 动态区 alert-card 举报按钮全宽 */
  .alert-card a[href*="report"] { display: block !important; text-align: center; }

  /* 分页区域居中 */
  .table-pagination { text-align: center; }
  #pageInfo { font-size: 12px; }

  /* 滚动提示 — 表格右侧渐变遮罩 */
  .data-table-wrapper {
    position: relative;
  }
  .data-table-wrapper::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 32px;
    background: linear-gradient(to right, transparent, rgba(5,8,16,0.8));
    pointer-events: none;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  }
}

/* 超小屏 — 统计卡片 2 列 */
@media (max-width: 400px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-value { font-size: 18px; }
  .stat-label { font-size: 9px; }
  .hero-title { font-size: 21px; }
  .hero-search-btn { font-size: 11px; padding: 8px 10px; }
  .nav-logo-text { display: none; }
}

/* 防止 iOS 双击缩放 */
button, a { touch-action: manipulation; }

/* 移动端去除 input 默认样式 */
@media (max-width: 768px) {
  input[type="search"] { -webkit-appearance: none; appearance: none; }
  input[type="text"], input[type="email"], input[type="password"] {
    -webkit-appearance: none; appearance: none;
  }
}

/* ── Hero inner 移动端 padding 优化 ── */
@media (max-width: 768px) {
  .hero-inner { padding: 90px 20px 44px !important; }
  .hero-search { max-width: 100% !important; }
}
@media (max-width: 480px) {
  .hero-inner { padding: 76px 16px 36px !important; }
  .hero-search { flex-wrap: nowrap; }
  .hero-search input { min-width: 0; }
  .hero-inner > div:last-child a { flex: 1; justify-content: center; }
}

/* ── 手机端导航栏终极修复 ── */
@media (max-width: 768px) {
  /* 导航容器不换行 */
  .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    gap: 8px;
    flex-wrap: nowrap;
  }
  /* Logo 区域限宽 */
  .nav-logo {
    flex-shrink: 0;
    min-width: 0;
    max-width: 180px;
  }
  .nav-logo-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
  }
  /* 操作区不换行 */
  .nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }
  /* 隐藏登录按钮，只保留注册+汉堡 */
  .btn-login { display: none !important; }
  /* 注册按钮缩小 */
  .btn-register { padding: 7px 12px; font-size: 12px; white-space: nowrap; }
  /* 语言按钮只显示旗帜 */
  .lang-btn { padding: 6px 8px; }
  #langBtnText { display: none; }
  /* 汉堡按钮 */
  .nav-mobile-toggle { display: flex; flex-shrink: 0; }
}

/* ── 手机端统计栏修复 ── */
@media (max-width: 480px) {
  .stats-section { padding: 24px 0; }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
  }
  /* 最后一个卡片（涉案金额）跨2列 */
  .stat-card:last-child {
    grid-column: 1 / -1;
  }
  .stat-card { padding: 14px 10px; }
  .stat-value { font-size: 18px; }
  .stat-label { font-size: 10px; }
  .stat-change { font-size: 9px; }
}

/* ── 手机端跑马灯修复 ── */
@media (max-width: 480px) {
  .ticker-item { font-size: 12px; gap: 6px; }
  .ticker-item .t-badge { font-size: 10px; padding: 1px 6px; }
  .ticker-item .t-name { font-size: 12px; }
  .ticker-item .t-amount { font-size: 12px; }
}

/* ── 手机端分类区修复 ── */
@media (max-width: 480px) {
  .categories-section { padding: 32px 0; }
  .categories-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }
  .category-card { padding: 10px 6px; }
  .category-icon { width: 30px; height: 30px; font-size: 14px; margin-bottom: 6px; }
  .category-name { font-size: 10px; }
  .category-count { font-size: 9px; }
}

/* ── 手机端 section 通用 padding ── */
@media (max-width: 480px) {
  .section-container { padding: 0 12px; }
  .section-title { font-size: 18px; letter-spacing: -0.5px; }
  .section-desc { font-size: 13px; }
}
