/* =========================================
   ROOT VARIABLES
   ========================================= */
:root {
  --nav-width: 256px;

  /* Nav sidebar palette */
  --nav-bg: #060910;
  --nav-border: rgba(201,168,76,0.14);
  --nav-gold: #c9a84c;
  --nav-gold-soft: rgba(201,168,76,0.08);
  --nav-text: #8a96ac;
  --nav-text-active: #d4b86a;
  --nav-hover-bg: rgba(255,255,255,0.04);
  --nav-active-bg: rgba(201,168,76,0.1);

  /* Content backgrounds */
  --bg-page: #f0f2f5;
  --bg-white: #ffffff;
  --bg-subtle: #f6f8fb;
  --bg-dark: #090d18;
  --bg-dark2: #0d1220;

  /* Text */
  --text-h: #111827;
  --text-body: #374151;
  --text-muted: #6b7280;
  --text-light: #9ca3af;

  /* Accent palette */
  --gold: #c9a84c;
  --gold-light: #e0c070;
  --blue: #3b6fd4;
  --blue-soft: rgba(59,111,212,0.1);
  --teal: #0d9488;
  --teal-soft: rgba(13,148,136,0.1);
  --purple: #7c3aed;
  --purple-soft: rgba(124,58,237,0.1);
  --orange: #d4622e;
  --orange-soft: rgba(212,98,46,0.1);
  --green: #16a34a;
  --green-soft: rgba(22,163,74,0.1);

  /* UI atoms */
  --border: rgba(0,0,0,0.07);
  --border-md: rgba(0,0,0,0.1);
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.18);
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 22px;
  --ease: 0.22s cubic-bezier(0.4,0,0.2,1);
  --ease-med: 0.36s cubic-bezier(0.4,0,0.2,1);
}

/* =========================================
   RESET
   ========================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-page);
  color: var(--text-body);
  line-height: 1.75;
  display: flex;
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* =========================================
   SIDEBAR
   ========================================= */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--nav-width);
  height: 100vh;
  background: var(--nav-bg);
  border-right: 1px solid var(--nav-border);
  display: flex;
  flex-direction: column;
  z-index: 100;
  overflow: hidden;
  transition: transform var(--ease-med);
  will-change: transform;
}

/* Subtle scan-line texture */
.sidebar::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent, transparent 47px,
      rgba(201,168,76,0.018) 47px,
      rgba(201,168,76,0.018) 48px
    );
  pointer-events: none;
  z-index: 0;
}

/* Gold edge line */
.sidebar::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 1px; height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(201,168,76,0.35) 25%,
    rgba(201,168,76,0.55) 50%,
    rgba(201,168,76,0.35) 75%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* Dragon decoration */
.sidebar-dragon {
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  width: 170px;
  height: 540px;
  pointer-events: none;
  z-index: 0;
  will-change: transform, opacity;
}
.sidebar-dragon img {
  width: 100%; height: 100%;
  object-fit: contain;
}

/* ---- Header ---- */
.sidebar-header {
  position: relative;
  z-index: 2;
  padding: 22px 18px 16px;
  display: flex;
  align-items: center;
  gap: 13px;
}

.sidebar-emblem {
  flex-shrink: 0;
  width: 38px; height: 38px;
  transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1);
  cursor: default;
}
.sidebar-emblem:hover { transform: rotate(90deg) scale(1.05); }
.sidebar-emblem svg { width: 100%; height: 100%; }

.sidebar-brand { display: flex; flex-direction: column; gap: 2px; }
.sidebar-brand-main {
  font-size: 13px; font-weight: 700;
  color: #d4b870; letter-spacing: 1.5px;
}
.sidebar-brand-sub {
  font-size: 9px; letter-spacing: 2.5px;
  color: rgba(201,168,76,0.35); text-transform: uppercase;
}

/* ---- Ornament divider ---- */
.sidebar-ornament {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 5px;
  padding: 0 18px; margin-bottom: 6px;
}
.ornament-line {
  flex: 1; height: 1px;
  background: linear-gradient(to right, transparent, rgba(201,168,76,0.28), transparent);
}
.ornament-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(201,168,76,0.45);
  box-shadow: 0 0 5px rgba(201,168,76,0.3);
  flex-shrink: 0;
}

/* ---- Nav menu ---- */
.sidebar-nav {
  position: relative; z-index: 2;
  flex: 1; overflow-y: auto;
  padding: 4px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(201,168,76,0.18) transparent;
}
.sidebar-nav::-webkit-scrollbar { width: 2px; }
.sidebar-nav::-webkit-scrollbar-thumb {
  background: rgba(201,168,76,0.2);
  border-radius: 1px;
}
.sidebar-nav li { padding: 0 10px; }

.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  border-radius: var(--r-sm);
  color: var(--nav-text);
  font-size: 13px;
  letter-spacing: 0.3px;
  transition: background var(--ease), color var(--ease);
  position: relative;
  overflow: hidden;
}

/* Hover shimmer */
.sidebar-nav-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(201,168,76,0.06) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}
.sidebar-nav-item:hover::after { transform: translateX(100%); }

/* Left indicator */
.sidebar-nav-item::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 2px; height: 55%;
  background: var(--nav-gold);
  border-radius: 1px;
  transition: transform var(--ease);
}
.sidebar-nav-item:hover { background: var(--nav-hover-bg); color: #bcc5d6; }
.sidebar-nav-item:hover::before { transform: translateY(-50%) scaleY(1); }
.sidebar-nav-item.active { background: var(--nav-active-bg); color: var(--nav-text-active); }
.sidebar-nav-item.active::before { transform: translateY(-50%) scaleY(1); }

/* Nav dot (replaces old index numbers) */
.nav-dot {
  flex-shrink: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(201,168,76,0.22);
  border: 1px solid rgba(201,168,76,0.3);
  transition: background var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.sidebar-nav-item:hover .nav-dot,
.sidebar-nav-item.active .nav-dot {
  background: var(--nav-gold);
  border-color: var(--nav-gold);
  box-shadow: 0 0 7px rgba(201,168,76,0.5);
}

.nav-label { flex: 1; }

.nav-arrow {
  font-size: 13px; opacity: 0;
  transform: translateX(-5px);
  transition: opacity var(--ease), transform var(--ease);
  color: var(--nav-gold);
}
.sidebar-nav-item:hover .nav-arrow,
.sidebar-nav-item.active .nav-arrow { opacity: 1; transform: translateX(0); }

/* ---- Sidebar footer ---- */
.sidebar-footer {
  position: relative; z-index: 2;
  padding: 12px 18px 18px;
}
.sidebar-footer-ornament {
  display: flex; align-items: center; gap: 5px; margin-bottom: 10px;
}
.sidebar-footer-text {
  font-size: 9.5px;
  color: rgba(138,150,172,0.3);
  letter-spacing: 0.5px; line-height: 1.8;
}

/* =========================================
   MOBILE NAV TOGGLE
   ========================================= */
.nav-toggle {
  display: none;
  position: fixed;
  top: 14px; left: 14px;
  z-index: 200;
  width: 42px; height: 42px;
  background: rgba(6,9,16,0.92);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--r-sm);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 10px;
  backdrop-filter: blur(8px);
  transition: border-color var(--ease);
}
.nav-toggle:hover { border-color: rgba(201,168,76,0.5); }
.nav-toggle span {
  display: block; width: 100%; height: 1.5px;
  background: var(--nav-gold); border-radius: 1px;
  transition: transform var(--ease), opacity var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translateY(6.5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translateY(-6.5px); }

.nav-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 90;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

/* =========================================
   MAIN CONTENT
   ========================================= */
.main-content {
  margin-left: var(--nav-width);
  flex: 1; min-width: 0;
}

/* =========================================
   SECTION BASE
   ========================================= */
.section {
  padding: 76px 0;
  border-bottom: 1px solid var(--border);
}
.section:last-child { border-bottom: none; }

.section-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 52px;
}

.section-header { margin-bottom: 48px; }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 14px;
  padding: 4px 10px 4px 0;
}
.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px; height: 1px;
  background: var(--gold);
  opacity: 0.45;
}

h2 {
  font-size: clamp(21px, 2.8vw, 30px);
  font-weight: 800;
  color: var(--text-h);
  line-height: 1.28;
  margin-bottom: 13px;
  letter-spacing: -0.4px;
}
.section-lead {
  font-size: 14.5px;
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.85;
}

/* =========================================
   FADE-IN REVEAL
   ========================================= */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible { opacity: 1; transform: none; }
.fade-in.delay-1 { transition-delay: 0.12s; }
.fade-in.delay-2 { transition-delay: 0.24s; }

/* =========================================
   01 · OVERVIEW SECTION
   ========================================= */
.section-overview {
  background: var(--bg-dark);
  padding: 84px 0;
  border-bottom: none;
  position: relative;
  overflow: hidden;
}

/* Animated grid */
.section-overview::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  animation: gridDrift 20s linear infinite;
  pointer-events: none;
}
@keyframes gridDrift {
  from { background-position: 0 0; }
  to   { background-position: 56px 56px; }
}

/* Radial glow overlays */
.section-overview::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 65% 50%, rgba(59,111,212,0.09) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 80%, rgba(201,168,76,0.07) 0%, transparent 45%),
    radial-gradient(ellipse at 90% 10%, rgba(13,148,136,0.05) 0%, transparent 40%);
  pointer-events: none;
}

.overview-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.section-overview .section-eyebrow { color: rgba(201,168,76,0.6); }
.section-overview .section-eyebrow::before { background: rgba(201,168,76,0.35); }

.overview-title {
  font-size: clamp(28px, 3.8vw, 48px);
  font-weight: 900;
  color: #edf2fa;
  line-height: 1.15;
  letter-spacing: -0.8px;
  margin-bottom: 14px;
}
/* Gold highlight on last word */
.overview-title em {
  font-style: normal;
  color: var(--gold-light);
}

.overview-subtitle {
  font-size: 12px;
  color: rgba(201,168,76,0.55);
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.overview-desc {
  font-size: 14px;
  color: rgba(178,190,210,0.82);
  line-height: 1.95;
  margin-bottom: 34px;
  max-width: 480px;
}

.overview-actions {
  display: flex; gap: 14px; margin-bottom: 30px; flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 12px 28px;
  background: linear-gradient(135deg, #c9a84c, #e0c060);
  color: #0d1018;
  font-size: 13px; font-weight: 700; letter-spacing: 0.3px;
  border-radius: var(--r-sm);
  transition: all var(--ease);
  box-shadow: 0 4px 16px rgba(201,168,76,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.4);
  background: linear-gradient(135deg, #d4b55a, #eacf6a);
}

.btn-secondary {
  display: inline-flex; align-items: center;
  padding: 12px 26px;
  border: 1px solid rgba(201,168,76,0.28);
  color: rgba(201,168,76,0.75);
  font-size: 13px; font-weight: 600; letter-spacing: 0.3px;
  border-radius: var(--r-sm);
  transition: all var(--ease);
}
.btn-secondary:hover {
  border-color: rgba(201,168,76,0.65);
  color: var(--gold);
  background: rgba(201,168,76,0.06);
  transform: translateY(-1px);
}

.overview-tags {
  display: flex; flex-wrap: wrap; gap: 7px;
}
.tag {
  display: inline-block;
  padding: 4px 11px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  font-size: 11px;
  color: rgba(178,190,210,0.6);
  letter-spacing: 0.2px;
  transition: border-color var(--ease), color var(--ease);
}
.tag:hover { border-color: rgba(201,168,76,0.3); color: rgba(201,168,76,0.7); }

/* Visual side */
.overview-img-wrap {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid rgba(201,168,76,0.1);
  box-shadow: var(--shadow-xl);
  margin-bottom: 18px;
  position: relative;
  height: 320px;
}
/* Shimmer overlay on image */
.overview-img-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(130deg, rgba(255,255,255,0.03) 0%, transparent 50%);
  pointer-events: none;
}
.overview-img { width: 100%; display: block; }

.overview-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(201,168,76,0.1);
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid rgba(201,168,76,0.08);
}
.stat-item {
  display: flex; flex-direction: column; align-items: center;
  padding: 14px 8px;
  background: rgba(6,9,16,0.7);
  gap: 4px;
  transition: background var(--ease);
}
.stat-item:hover { background: rgba(201,168,76,0.04); }
.stat-num {
  font-size: 22px; font-weight: 900;
  color: var(--gold); line-height: 1;
}
.stat-label {
  font-size: 10px; color: rgba(178,190,210,0.45);
  text-align: center; letter-spacing: 0.3px;
}

/* =========================================
   02 · DOWNLOAD SECTION
   ========================================= */
.section-download { background: var(--bg-white); }

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.download-card {
  padding: 28px;
  border-radius: var(--r-lg);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  transition: all var(--ease);
  position: relative;
  overflow: hidden;
}
.download-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0;
  transition: opacity var(--ease);
}
.download-card:hover {
  border-color: rgba(59,111,212,0.18);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.download-card:hover::before { opacity: 1; }

.download-card-icon {
  width: 48px; height: 48px;
  background: var(--blue-soft);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  border: 1px solid rgba(59,111,212,0.12);
  transition: background var(--ease), border-color var(--ease);
}
.download-card:hover .download-card-icon {
  background: rgba(59,111,212,0.14);
  border-color: rgba(59,111,212,0.25);
}
.download-card-icon img { filter: invert(35%) sepia(70%) saturate(600%) hue-rotate(200deg); }

.download-card h3 {
  font-size: 15px; font-weight: 700;
  color: var(--text-h); margin-bottom: 10px;
}
.download-card p {
  font-size: 13.5px; color: var(--text-body);
  line-height: 1.82; margin-bottom: 14px;
}
.download-checklist { display: flex; flex-direction: column; gap: 6px; }
.download-checklist li {
  font-size: 12.5px; color: var(--text-muted);
  padding-left: 16px; position: relative; line-height: 1.5;
}
.download-checklist li::before {
  content: '›'; position: absolute; left: 0;
  color: var(--gold); font-weight: 700;
}

/* =========================================
   03 · TYPES SECTION
   ========================================= */
.section-types { background: var(--bg-subtle); }

.types-visual-wrap {
  margin-bottom: 36px;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.types-img { width: 100%; display: block; }

.types-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 36px;
}

.type-detail-card {
  padding: 24px;
  background: var(--bg-white);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  position: relative; overflow: hidden;
  transition: all var(--ease);
}
.type-detail-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.type-card-accent {
  position: absolute; top: 0; left: 0; right: 0; height: 2.5px;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.type-hot .type-card-accent      { background: linear-gradient(90deg, var(--blue), #6196e8); }
.type-cold .type-card-accent     { background: linear-gradient(90deg, var(--purple), #a480f8); }
.type-hardware .type-card-accent { background: linear-gradient(90deg, var(--gold), var(--gold-light)); }
.type-multichain .type-card-accent { background: linear-gradient(90deg, var(--teal), #34d399); }

.type-card-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 13px; flex-wrap: wrap;
}
.type-icon { opacity: 0.65; }
.type-card-header h3 {
  font-size: 14px; font-weight: 700;
  color: var(--text-h); margin: 0; flex: 1;
}
.type-badge {
  font-size: 10px; padding: 3px 9px;
  border-radius: 20px; letter-spacing: 0.2px; font-weight: 600;
}
.badge-online   { background: var(--blue-soft);   color: var(--blue);   }
.badge-offline  { background: var(--purple-soft);  color: var(--purple); }
.badge-hardware { background: rgba(201,168,76,0.1); color: var(--gold);  }
.badge-chain    { background: var(--teal-soft);    color: var(--teal);   }

.type-detail-card p {
  font-size: 13.5px; color: var(--text-body);
  line-height: 1.85; margin-bottom: 13px;
}
.type-card-meta {
  font-size: 11.5px; color: var(--text-light);
  border-top: 1px solid var(--border); padding-top: 11px;
}

/* Compare table */
.type-compare-bar {
  background: var(--bg-white);
  border-radius: var(--r-xl);
  padding: 28px 30px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.compare-bar-title {
  font-size: 14px; font-weight: 700;
  color: var(--text-h); margin-bottom: 18px;
  display: flex; align-items: center; gap: 8px;
}
.compare-bar-title::before {
  content: '';
  display: inline-block; width: 3px; height: 14px;
  background: var(--gold); border-radius: 1.5px;
}
.compare-table-wrap { overflow-x: auto; }
.compare-table {
  width: 100%; border-collapse: collapse;
  font-size: 13px; min-width: 540px;
}
.compare-table th {
  text-align: left; padding: 10px 16px;
  background: rgba(0,0,0,0.025);
  color: var(--text-h); font-weight: 700; font-size: 12.5px;
  border-bottom: 2px solid rgba(201,168,76,0.18);
}
.compare-table th:first-child { color: var(--text-muted); font-weight: 600; }
.compare-table td {
  padding: 9px 16px; color: var(--text-body);
  border-bottom: 1px solid var(--border); font-size: 13px;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tbody tr { transition: background var(--ease); }
.compare-table tbody tr:hover td { background: rgba(201,168,76,0.03); }

.rating-high { color: var(--teal); font-weight: 600; }
.rating-mid  { color: var(--gold); font-weight: 600; }
.rating-low  { color: var(--orange); font-weight: 600; }

/* =========================================
   04 · BRANDS SECTION
   ========================================= */
.section-brands { background: var(--bg-white); }

.brand-block {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 52px;
  align-items: center;
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
}
.brand-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.brand-block-reverse { grid-template-columns: 1fr 420px; }
.brand-block-reverse .brand-block-img { order: 2; }
.brand-block-reverse .brand-block-info { order: 1; }

.brand-block-img { position: relative; }
.brand-img {
  width: 100%;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--ease-med), transform var(--ease-med);
  will-change: transform;
  display: block;
  overflow: hidden;
}
.brand-img:hover {
  box-shadow: var(--shadow-xl);
  transform: scale(1.015);
}

/* Real photo containers keep aspect-ratio clean */
.brand-block-img {
  border-radius: var(--r-xl);
  overflow: hidden;
}

.brand-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px; flex-wrap: wrap;
}
.brand-name {
  font-size: 24px; font-weight: 800;
  color: var(--text-h); margin: 0; letter-spacing: -0.4px;
}
.brand-tag {
  font-size: 10.5px; padding: 3px 10px;
  border-radius: 20px; font-weight: 600; letter-spacing: 0.2px;
}
.tag-hardware  { background: rgba(201,168,76,0.1); color: var(--gold); }
.tag-mobile    { background: var(--blue-soft);     color: var(--blue); }
.tag-multichain{ background: var(--teal-soft);     color: var(--teal); }
.tag-tron      { background: var(--orange-soft);   color: var(--orange); }

.brand-desc {
  font-size: 14px; color: var(--text-body);
  line-height: 1.92; margin-bottom: 20px;
}
.brand-specs {
  border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
}
.brand-spec-row {
  display: grid; grid-template-columns: 88px 1fr;
  gap: 12px; padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 13px; align-items: baseline;
  transition: background var(--ease);
}
.brand-spec-row:hover { background: rgba(0,0,0,0.015); }
.brand-spec-row:last-child { border-bottom: none; }
.spec-label {
  color: var(--text-light); font-size: 11px;
  font-weight: 600; letter-spacing: 0.3px; flex-shrink: 0;
}
.spec-value { color: var(--text-body); line-height: 1.6; }

/* =========================================
   05 · FEATURES SECTION
   ========================================= */
.section-features { background: var(--bg-subtle); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card {
  background: var(--bg-white);
  border-radius: var(--r-lg);
  padding: 24px 20px;
  border: 1px solid var(--border);
  transition: all var(--ease);
  position: relative; overflow: hidden;
}
.feature-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--ease-med);
}
.feature-card:hover {
  border-color: rgba(201,168,76,0.2);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.feature-card:hover::after { opacity: 1; }

.feature-icon-wrap {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  transition: background var(--ease), border-color var(--ease);
}
.feature-card:hover .feature-icon-wrap {
  background: rgba(201,168,76,0.14);
  border-color: rgba(201,168,76,0.25);
}
.feature-icon-wrap img {
  filter: invert(72%) sepia(28%) saturate(500%) hue-rotate(8deg) brightness(1.1);
}
.feature-card h3 {
  font-size: 14px; font-weight: 700;
  color: var(--text-h); margin-bottom: 9px; line-height: 1.3;
}
.feature-card p { font-size: 13px; color: var(--text-muted); line-height: 1.82; }

/* =========================================
   06 · PLATFORMS SECTION
   ========================================= */
.section-platforms { background: var(--bg-white); }

.platforms-visual {
  margin-bottom: 36px;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.platforms-img { width: 100%; display: block; }

.platforms-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.platform-detail {
  padding: 22px 20px;
  background: var(--bg-subtle);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  transition: all var(--ease);
}
.platform-detail:hover {
  border-color: rgba(59,111,212,0.16);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.platform-icon-row {
  display: flex; align-items: center; gap: 10px; margin-bottom: 11px;
}
.platform-icon-row img {
  opacity: 0.55;
  filter: invert(35%) sepia(70%) saturate(600%) hue-rotate(200deg);
}
.platform-icon-row h3 {
  font-size: 14px; font-weight: 700; color: var(--text-h); margin: 0;
}
.platform-detail p {
  font-size: 13px; color: var(--text-body); line-height: 1.85; margin-bottom: 13px;
}
.platform-note-list { display: flex; flex-direction: column; gap: 5px; }
.platform-note-list li {
  font-size: 12px; color: var(--text-muted);
  padding-left: 13px; position: relative; line-height: 1.5;
}
.platform-note-list li::before {
  content: '·'; position: absolute; left: 3px; color: var(--gold);
}

/* =========================================
   07 · SECURITY SECTION
   ========================================= */
.section-security {
  background: var(--bg-dark);
  position: relative; overflow: hidden;
}
.section-security::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 25% 60%, rgba(201,168,76,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(59,111,212,0.05) 0%, transparent 45%);
  pointer-events: none;
}
.section-security .section-eyebrow      { color: rgba(201,168,76,0.55); }
.section-security .section-eyebrow::before { background: rgba(201,168,76,0.35); }
.section-security h2   { color: #e2eaf8; }
.section-security .section-lead { color: rgba(175,188,210,0.65); }

.security-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 52px; align-items: start;
  position: relative; z-index: 1;
}
.security-visual { position: sticky; top: 32px; }
.security-img {
  width: 100%;
  border-radius: var(--r-xl);
  border: 1px solid rgba(201,168,76,0.1);
  box-shadow: 0 16px 48px rgba(0,0,0,0.45);
}

.security-items { display: flex; flex-direction: column; }

.security-item {
  display: flex; gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,0.055);
  align-items: flex-start;
  transition: background var(--ease);
}
.security-item:last-child { border-bottom: none; }
.security-item:hover { background: rgba(255,255,255,0.015); }

.security-item-num {
  font-size: 26px; font-weight: 900;
  color: rgba(201,168,76,0.12);
  line-height: 1; flex-shrink: 0; width: 30px;
  font-variant-numeric: tabular-nums;
  transition: color var(--ease);
}
.security-item:hover .security-item-num { color: rgba(201,168,76,0.22); }
.security-item-content h3 {
  font-size: 15px; font-weight: 700;
  color: #c8d6ea; margin-bottom: 7px; margin-top: 2px;
}
.security-item-content p {
  font-size: 13.5px;
  color: rgba(175,188,210,0.72);
  line-height: 1.88;
}

/* =========================================
   08 · SELECTION SECTION
   ========================================= */
.section-selection { background: var(--bg-subtle); }

.selection-visual {
  margin-bottom: 36px;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.selection-img { width: 100%; display: block; }

.selection-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.selection-card {
  background: var(--bg-white);
  border-radius: var(--r-lg);
  padding: 24px 22px;
  border: 1px solid var(--border);
  transition: all var(--ease);
  position: relative; overflow: hidden;
}
.selection-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--teal), #34d399);
  opacity: 0;
  transition: opacity var(--ease);
}
.selection-card:hover {
  border-color: rgba(13,148,136,0.2);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.selection-card:hover::before { opacity: 1; }
.selection-card-header {
  display: flex; align-items: flex-start; gap: 10px; margin-bottom: 11px;
}
.selection-card-header img {
  flex-shrink: 0; margin-top: 2px;
  filter: invert(42%) sepia(60%) saturate(700%) hue-rotate(135deg);
}
.selection-card-header h3 {
  font-size: 14px; font-weight: 700;
  color: var(--text-h); line-height: 1.4; margin: 0;
}
.selection-card p {
  font-size: 13px; color: var(--text-body); line-height: 1.85; margin-bottom: 14px;
}
.selection-recommend {
  font-size: 11.5px; color: var(--teal); font-weight: 600;
  padding: 7px 12px;
  background: var(--teal-soft);
  border-radius: var(--r-sm);
  border-left: 2px solid var(--teal);
}

/* =========================================
   09 · FAQ SECTION
   ========================================= */
.section-faq { background: var(--bg-white); }

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

.faq-item {
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.faq-item.open {
  border-color: rgba(201,168,76,0.22);
  box-shadow: 0 4px 20px rgba(201,168,76,0.07);
}

.faq-question {
  width: 100%; display: flex; align-items: center; gap: 12px;
  padding: 17px 20px; text-align: left;
  background: var(--bg-subtle);
  color: var(--text-h);
  font-size: 14px; font-weight: 600;
  transition: background var(--ease);
  line-height: 1.5;
}
.faq-question:hover { background: rgba(201,168,76,0.04); }
.faq-item.open .faq-question { background: rgba(201,168,76,0.06); }

.faq-icon {
  flex-shrink: 0; opacity: 0.4;
  filter: invert(72%) sepia(28%) saturate(500%) hue-rotate(8deg);
}
.faq-question span:nth-child(2) { flex: 1; }

.faq-chevron {
  flex-shrink: 0; width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.09);
  position: relative;
  transition: transform var(--ease), background var(--ease), border-color var(--ease);
}
.faq-chevron::before {
  content: '';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-55%, -65%) rotate(45deg);
  width: 5px; height: 5px;
  border-right: 1.5px solid var(--text-muted);
  border-bottom: 1.5px solid var(--text-muted);
  transition: border-color var(--ease), transform var(--ease);
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  background: rgba(201,168,76,0.1);
  border-color: rgba(201,168,76,0.28);
}
.faq-item.open .faq-chevron::before {
  border-color: var(--gold);
  transform: translate(-55%, -35%) rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 18px 20px 20px 50px;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
}
.faq-item.open .faq-answer { display: block; }
.faq-answer p {
  font-size: 13.5px; color: var(--text-body); line-height: 1.92;
}
.faq-answer strong { color: var(--text-h); font-weight: 600; }

/* =========================================
   10 · SERVICE SECTION
   ========================================= */
.section-service { background: var(--bg-subtle); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px; margin-bottom: 52px;
}
.service-card {
  padding: 28px;
  background: var(--bg-white);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  transition: all var(--ease);
}
.service-card:hover {
  border-color: rgba(201,168,76,0.15);
  box-shadow: var(--shadow-md);
}
.service-card-icon {
  width: 44px; height: 44px;
  background: rgba(201,168,76,0.07);
  border: 1px solid rgba(201,168,76,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.service-card-icon img {
  filter: invert(72%) sepia(28%) saturate(500%) hue-rotate(8deg);
}
.service-card h3 {
  font-size: 15px; font-weight: 700; color: var(--text-h); margin-bottom: 12px;
}
.service-card p {
  font-size: 13.5px; color: var(--text-body); line-height: 1.88; margin-bottom: 8px;
}
.service-card p:last-of-type { margin-bottom: 0; }

.service-contact {
  display: flex; flex-direction: column; gap: 8px;
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--border);
}
.contact-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-muted);
}
.contact-item img {
  opacity: 0.45;
  filter: invert(72%) sepia(28%) saturate(500%) hue-rotate(8deg);
}

/* Footer */
.site-footer {
  text-align: center; padding-top: 36px;
  border-top: 1px solid var(--border);
}
.footer-ornament {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; margin-bottom: 16px;
}
.footer-ornament .ornament-line { width: 56px; }
.footer-copy {
  font-size: 12.5px; color: var(--text-light); margin-bottom: 6px;
}
.footer-note {
  font-size: 11px; color: rgba(107,114,128,0.5);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1200px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-block { grid-template-columns: 360px 1fr; gap: 36px; }
  .brand-block-reverse { grid-template-columns: 1fr 360px; }
}

@media (max-width: 1024px) {
  .section-inner { padding: 0 32px; }
  .overview-layout { grid-template-columns: 1fr; gap: 44px; }
  .brand-block,
  .brand-block-reverse {
    grid-template-columns: 1fr; gap: 24px;
  }
  .brand-block-reverse .brand-block-img  { order: 0; }
  .brand-block-reverse .brand-block-info { order: 0; }
  .security-layout { grid-template-columns: 1fr; }
  .security-visual { position: static; max-width: 460px; }
  .platforms-detail-grid { grid-template-columns: repeat(2, 1fr); }
  .selection-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open {
    transform: translateX(0);
    box-shadow: 6px 0 40px rgba(0,0,0,0.5);
  }
  .nav-toggle { display: flex; }
  .nav-overlay.active { display: block; }
  .main-content { margin-left: 0; }
  .section { padding: 52px 0; }
  .section-inner { padding: 0 18px; }
  .download-grid { grid-template-columns: 1fr; }
  .types-detail-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .platforms-detail-grid { grid-template-columns: 1fr; }
  .selection-cards { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .overview-actions { flex-direction: column; }
  .btn-primary, .btn-secondary { justify-content: center; }
  .faq-answer { padding-left: 20px; }
}

@media (max-width: 480px) {
  .overview-title { font-size: 28px; }
  .overview-stat-row { grid-template-columns: repeat(3, 1fr); }
  .section-eyebrow { font-size: 9.5px; }
}

/* =========================================
   READING PROGRESS (injected by JS)
   ========================================= */
#reading-progress {
  position: fixed; top: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 9999; width: 0%; pointer-events: none;
  transition: width 0.08s linear;
  box-shadow: 0 0 8px rgba(201,168,76,0.4);
}
