/* BizSoSo 官网首页 — default theme */

/* 本地化 Sora（勿引用 fonts.googleapis.com） */
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/statics/fonts/sora/sora-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/statics/fonts/sora/sora-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/statics/fonts/sora/sora-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/statics/fonts/sora/sora-latin-700-normal.woff2") format("woff2");
}

:root {
  --blue: #2563eb;
  --blue2: #1d4ed8;
  --blue3: #1e40af;
  --cyan: #0ea5e9;
  --ink: #0b1220;
  --ink2: #334155;
  --muted: #64748b;
  --line: #e6edf7;
  --bg: #f5f8fc;
  --white: #fff;
  --green: #16a34a;
  --green-soft: #ecfdf3;
  --orange: #ea580c;
  --orange-soft: #fff7ed;
  --red: #e11d48;
  --shadow: 0 20px 60px rgba(15, 23, 42, 0.09);
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.06);
  --radius: 20px;
  --max: 1160px;
  --font: "Sora", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
button, input, select { font: inherit; }
img { max-width: 100%; display: block; }
em { font-style: normal; }

.wrap {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

/* —— Topbar —— */
.topbar {
  height: 74px;
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.topbar .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  font-size: 20px;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.logo img {
  height: 52px;
  width: auto;
  border-radius: 0;
  box-shadow: none;
}

.logo small {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 600;
  margin-left: 2px;
}

.nav {
  display: flex;
  gap: 4px;
  margin-left: 20px;
}

.nav a {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 14px;
  color: #475569;
  font-weight: 500;
  transition: 0.18s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--blue);
  background: #eff6ff;
}

.top-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  height: 44px;
  padding: 0 20px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 650;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), #3b82f6);
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.34);
}

.btn-ghost {
  background: #fff;
  border-color: #d7e2f0;
  color: #334155;
}

.btn-ghost:hover {
  border-color: #a8c0e4;
  background: #f8fafc;
}

.btn-sm { height: 38px; padding: 0 16px; font-size: 13px; }

.menu-btn {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #334155;
  margin: 5px 0;
  border-radius: 2px;
}

/* —— Hero —— */
.hero {
  position: relative;
  padding: 72px 0 70px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(248, 251, 255, 0.92) 0%, rgba(255, 255, 255, 0.96) 100%),
    url("../images/hero-bg.png") center top / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 45% at 85% 15%, rgba(37, 99, 235, 0.14), transparent 60%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(14, 165, 233, 0.1), transparent 55%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(239, 246, 255, 0.95);
  border: 1px solid #dbeafe;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  margin: 0 0 20px;
}

.eyebrow i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18); }
  50% { box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.08); }
}

.hero h1 {
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.14;
  letter-spacing: -1.8px;
  margin: 0 0 18px;
  font-weight: 750;
}

.hero h1 em {
  background: linear-gradient(120deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 17px;
  color: #526174;
  max-width: 540px;
  margin: 0 0 28px;
  line-height: 1.75;
}

.hero-lead strong { color: var(--ink); font-weight: 700; }

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: #7b8797;
  font-size: 13px;
}

.hero-note span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-note span::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%2316a34a' d='M6.5 11.2 3.3 8l1-1 2.2 2.2 5-5.1 1 1z'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Hero visual panel */
.hero-visual {
  position: relative;
  min-height: 420px;
}

.orbit {
  position: absolute;
  inset: 12px 0 0 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #d9e6f8;
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.orbit::before,
.orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px dashed #bfdbfe;
  pointer-events: none;
}

.orbit::before { width: 280px; height: 280px; right: -80px; top: -90px; }
.orbit::after { width: 200px; height: 200px; left: -80px; bottom: -90px; }

.visual-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid #e8eef7;
  background: rgba(255, 255, 255, 0.7);
}

.mini-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 13px;
}

.mini-dot {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.status {
  font-size: 11px;
  color: var(--green);
  background: var(--green-soft);
  padding: 5px 10px;
  border-radius: 999px;
  font-weight: 600;
}

.visual-body { padding: 22px; position: relative; z-index: 2; }

.flow-card {
  background: #fff;
  border: 1px solid #e8eef6;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s ease;
}

.flow-card:hover { transform: translateY(-2px); }
.flow-card + .flow-card { margin-top: 12px; }

.flow-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.flow-title strong { font-size: 13px; }

.tag {
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #64748b;
  font-weight: 600;
}

.tag.live {
  background: #eff6ff;
  color: var(--blue);
}

.slot-row {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 12px;
  align-items: center;
}

.slot-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: #eff6ff;
  color: var(--blue);
  display: grid;
  place-items: center;
}

.slot-icon img { width: 22px; height: 22px; object-fit: contain; }

.slot-name { font-size: 13px; font-weight: 700; }
.slot-meta { font-size: 11px; color: #94a3b8; margin-top: 2px; }
.slot-value { text-align: right; }
.slot-value b { font-size: 13px; display: block; }
.slot-value span { font-size: 10px; color: #94a3b8; }

/* Live ticker */
.story-panel {
  margin-top: 14px;
  border: 1px solid #e8eef6;
  border-radius: 14px;
  background: linear-gradient(180deg, #fbfdff, #fff);
  overflow: hidden;
}

.story-head {
  padding: 10px 14px;
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
  border-bottom: 1px solid #eef2f7;
}

.story-viewport {
  height: 44px;
  overflow: hidden;
  position: relative;
}

.story-list {
  list-style: none;
  margin: 0;
  padding: 0;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.story-list li {
  height: 44px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  font-size: 12px;
  color: #475569;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.story-list strong { color: var(--ink); font-weight: 700; }
.story-list em {
  color: var(--red);
  font-weight: 750;
  font-style: normal;
  margin: 0 2px;
}

.float-card {
  position: absolute;
  z-index: 4;
  background: #fff;
  border: 1px solid #e3eaf4;
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.12);
  padding: 12px 14px;
  font-size: 11px;
  animation: floatY 4.5s ease-in-out infinite;
}

.float-a { right: -10px; top: 64px; animation-delay: 0s; }
.float-b { left: -14px; bottom: 48px; animation-delay: 1.2s; }

.float-card b { display: block; font-size: 13px; margin-bottom: 2px; }
.float-card span { color: #94a3b8; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* —— Stats strip —— */
.strip {
  border-top: 1px solid #edf1f6;
  border-bottom: 1px solid #edf1f6;
  background: #fff;
}

.strip .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 22px 0;
}

.strip-item {
  text-align: center;
  border-right: 1px solid #e9eef5;
  padding: 4px 10px;
}

.strip-item:last-child { border-right: 0; }

.strip-item b {
  display: block;
  font-size: 22px;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin-bottom: 2px;
}

.strip-item span {
  font-size: 12px;
  color: var(--muted);
}

/* —— Sections —— */
.section { padding: 88px 0; }
.section.alt { background: var(--bg); }

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 44px;
}

.section-kicker {
  font-size: 12px;
  color: var(--blue);
  font-weight: 750;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.section h2 {
  font-size: clamp(26px, 3.2vw, 34px);
  letter-spacing: -0.8px;
  line-height: 1.28;
  margin: 0 0 12px;
  font-weight: 750;
}

.section-desc {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}

/* —— Action cards —— */
.action-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.action-card {
  padding: 24px 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: 0.22s ease;
  scroll-margin-top: 96px;
}

.action-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  opacity: 0.35;
  pointer-events: none;
}

.action-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.action-card.blue {
  background: linear-gradient(160deg, #f7fbff 0%, #fff 55%);
}
.action-card.blue::after { background: #bfdbfe; }

.action-card.green {
  background: linear-gradient(160deg, #f6fffa 0%, #fff 55%);
}
.action-card.green::after { background: #bbf7d0; }

.action-card.orange {
  background: linear-gradient(160deg, #fffaf5 0%, #fff 55%);
}
.action-card.orange::after { background: #fed7aa; }

.action-card.indigo {
  background: linear-gradient(160deg, #f5f7ff 0%, #fff 55%);
}
.action-card.indigo::after { background: #c7d2fe; }

.action-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  margin-bottom: 20px;
  overflow: hidden;
}

.action-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.action-card h3 {
  font-size: 19px;
  margin: 0 0 8px;
  font-weight: 750;
}

.action-card .sub {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 18px;
  line-height: 1.6;
}

.action-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  color: #475569;
  font-size: 13px;
}

.action-card li {
  margin: 10px 0;
  padding-left: 20px;
  position: relative;
}

.action-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 12px;
  height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%2316a34a' d='M6.5 11.2 3.3 8l1-1 2.2 2.2 5-5.1 1 1z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.action-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.action-link:hover { gap: 10px; }

/* —— Market —— */
.market-panel {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 20px;
}

.filter-card,
.listing-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 18px;
}

.filter-card { padding: 22px; height: fit-content; }

.filter-title {
  font-weight: 750;
  font-size: 14px;
  margin-bottom: 14px;
}

.filter-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.filter-list button {
  border: 0;
  background: transparent;
  text-align: left;
  padding: 10px 12px;
  border-radius: 10px;
  color: #64748b;
  font-size: 13px;
  cursor: pointer;
  transition: 0.15s;
}

.filter-list button:hover,
.filter-list button.active {
  background: #eff6ff;
  color: var(--blue);
  font-weight: 700;
}

.filter-note {
  margin-top: 22px;
  padding: 12px;
  background: #f8fafc;
  border-radius: 12px;
  color: #7b8797;
  font-size: 11px;
  line-height: 1.65;
}

.market-toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}

.search {
  flex: 1;
  height: 44px;
  border: 1px solid #dbe3ed;
  border-radius: 12px;
  padding: 0 14px;
  outline: none;
  color: #334155;
  background: #fff;
}

.search:focus {
  border-color: #93b4f7;
  box-shadow: 0 0 0 4px #eff6ff;
}

.select {
  height: 44px;
  border: 1px solid #dbe3ed;
  border-radius: 12px;
  background: #fff;
  padding: 0 12px;
  color: #475569;
}

.listing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.listing-card {
  padding: 18px;
  transition: 0.2s;
}

.listing-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: #cddcf4;
  transform: translateY(-2px);
}

.listing-top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.site-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
  overflow: hidden;
}

.site-logo img { width: 100%; height: 100%; object-fit: cover; }

.site-name { font-weight: 700; font-size: 14px; }
.domain { font-size: 11px; color: #94a3b8; margin-top: 2px; }

.quality {
  margin-left: auto;
  font-size: 11px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--green-soft);
  color: #15803d;
  font-weight: 700;
  white-space: nowrap;
}

.quality.b {
  background: #eff6ff;
  color: var(--blue);
}

.listing-desc {
  font-size: 12px;
  color: #64748b;
  margin: 14px 0;
  line-height: 1.55;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #edf1f6;
  border-bottom: 1px solid #edf1f6;
  padding: 12px 0;
  margin-bottom: 12px;
}

.metric b { font-size: 13px; display: block; }
.metric span {
  display: block;
  color: #94a3b8;
  font-size: 10px;
  margin-top: 2px;
}

.listing-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price { font-size: 12px; color: #64748b; }
.price b { font-size: 15px; color: var(--ink); }
.more-link { color: var(--blue); font-size: 12px; font-weight: 700; }

/* —— Exchange —— */
.exchange {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: stretch;
}

.exchange-copy h3 {
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.3;
  margin: 0 0 14px;
  letter-spacing: -0.6px;
}

.exchange-copy > p {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 460px;
}

.exchange-flow {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.flow-node {
  flex: 1;
  text-align: center;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px 12px;
  box-shadow: var(--shadow-sm);
}

.flow-node .num {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #eff6ff;
  color: var(--blue);
  display: grid;
  place-items: center;
  margin: 0 auto 10px;
  font-weight: 750;
  font-size: 13px;
}

.flow-node b { display: block; font-size: 13px; margin-bottom: 4px; }
.flow-node span { font-size: 11px; color: #94a3b8; }

.arrow {
  color: #94a3b8;
  display: flex;
  align-items: center;
  font-size: 18px;
}

.exchange-board {
  border: 1px solid #d5e4f8;
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(248, 251, 255, 0.95), rgba(239, 246, 255, 0.9)),
    url("../images/dot-pattern.svg");
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.exchange-board::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px dashed #bfdbfe;
  right: -90px;
  top: -100px;
}

.balance {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 20px;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-sm);
}

.balance-head {
  display: flex;
  justify-content: space-between;
  color: #64748b;
  font-size: 12px;
}

.points {
  font-size: 36px;
  font-weight: 750;
  letter-spacing: -1.2px;
  margin: 10px 0 4px;
}

.points small {
  font-size: 14px;
  color: #94a3b8;
  font-weight: 600;
}

.exchange-rule {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.rule {
  padding: 14px;
  background: #f8fafc;
  border-radius: 12px;
}

.rule b { font-size: 14px; display: block; }
.rule span {
  display: block;
  color: #94a3b8;
  font-size: 11px;
  margin-top: 4px;
}

.fallback {
  margin-top: 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px;
  font-size: 12px;
  color: #64748b;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.fallback b { color: #334155; }

/* —— Quality —— */
.quality-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.quality-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.quality-card h3 {
  font-size: 20px;
  margin: 0 0 8px;
}

.quality-card > p {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 20px;
}

.score-bar {
  height: 10px;
  background: #edf2f7;
  border-radius: 99px;
  overflow: hidden;
}

.score-fill {
  height: 100%;
  width: 82%;
  background: linear-gradient(90deg, #60a5fa, #2563eb);
  border-radius: 99px;
  animation: fillBar 1.4s ease forwards;
  transform-origin: left;
}

@keyframes fillBar {
  from { width: 0; }
}

.score-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  font-size: 12px;
  color: #94a3b8;
}

.score-row b {
  font-size: 22px;
  color: var(--blue);
  letter-spacing: -0.5px;
}

.quality-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.q-item {
  padding: 14px;
  border-radius: 12px;
  background: #f8fafc;
}

.q-item b { font-size: 13px; display: block; }
.q-item span {
  display: block;
  font-size: 11px;
  color: #94a3b8;
  margin-top: 4px;
}

.rule-note {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #eff6ff;
  color: #53657c;
  font-size: 12px;
  line-height: 1.7;
}

.rule-note strong { color: var(--blue); }

/* —— Help entry banner —— */
.help-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 36px 40px;
  border-radius: 24px;
  border: 1px solid #dbe7f7;
  background:
    linear-gradient(135deg, rgba(239, 246, 255, 0.95), rgba(255, 255, 255, 0.98)),
    url("../images/dot-pattern.svg");
  box-shadow: var(--shadow-sm);
}

.help-banner h2 {
  margin: 0 0 8px;
  font-size: 26px;
  letter-spacing: -0.5px;
}

.help-banner p {
  margin: 0;
  font-size: 14px;
  color: #64748b;
  max-width: 520px;
}

.help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

#paths,
#market,
#exchange,
#tasks,
#help-entry {
  scroll-margin-top: 90px;
}

/* —— CTA —— */
.cta { padding: 40px 0 96px; }

.cta-box {
  background:
    url("../images/dot-pattern.svg"),
    linear-gradient(125deg, #1e3a8a 0%, #2563eb 48%, #0ea5e9 100%);
  border-radius: 28px;
  padding: 48px 52px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: 0 24px 56px rgba(37, 99, 235, 0.28);
  overflow: hidden;
  position: relative;
}

.cta-box::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  right: -110px;
  top: -140px;
}

.cta-box h2 {
  font-size: 28px;
  margin: 0 0 8px;
  position: relative;
  z-index: 1;
  letter-spacing: -0.5px;
}

.cta-box p {
  margin: 0;
  color: #dbeafe;
  font-size: 14px;
  position: relative;
  z-index: 1;
}

.cta-box .btn {
  background: #fff;
  color: #1d4ed8;
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.15);
}

.cta-box .btn:hover { transform: translateY(-2px); }

/* —— Footer —— */
.foot {
  background: #0b1220;
  color: #94a3b8;
  padding: 40px 0;
}

.foot .wrap {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  font-size: 12px;
}

.foot-brand {
  color: #fff;
  font-weight: 750;
  font-size: 16px;
  margin-bottom: 6px;
}

.foot-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.foot-meta {
  text-align: right;
  line-height: 1.7;
}

.foot-meta .beian {
  display: inline-block;
  margin-top: 4px;
  color: #94a3b8;
}

.foot a:hover { color: #fff; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 16px);
  background: #0f172a;
  color: #fff;
  padding: 11px 16px;
  border-radius: 10px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s;
  z-index: 100;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* —— Responsive —— */
@media (max-width: 1100px) {
  .action-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    position: absolute;
    top: 74px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    gap: 2px;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }
  .nav.open a { padding: 12px 14px; }
  .menu-btn { display: block; }
  .top-actions { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { max-width: 620px; width: 100%; margin: 0 auto; }
  .action-grid { grid-template-columns: 1fr 1fr; }
  .quality-grid { grid-template-columns: 1fr; }
  .market-panel { grid-template-columns: 1fr; }
  .filter-card { display: none; }
  .exchange { grid-template-columns: 1fr; }
  .cta-box { flex-direction: column; align-items: flex-start; }
  .help-banner { flex-direction: column; align-items: flex-start; padding: 28px; }
  .strip .wrap { grid-template-columns: 1fr 1fr; }
  .strip-item:nth-child(2) { border-right: 0; }
  .strip-item:nth-child(1),
  .strip-item:nth-child(2) { border-bottom: 1px solid #e9eef5; padding-bottom: 14px; margin-bottom: 10px; }
}

@media (max-width: 640px) {
  .wrap { width: min(calc(100% - 28px), var(--max)); }
  .topbar { height: 64px; }
  .logo small { display: none; }
  .hero { padding: 48px 0 40px; }
  .hero-lead { font-size: 15px; }
  .hero-note span { width: 100%; }
  .hero-visual { min-height: 360px; }
  .orbit { inset: 0; }
  .float-a { right: 4px; top: 48px; }
  .float-b { left: 4px; bottom: 28px; }
  .listing-grid { grid-template-columns: 1fr; }
  .market-toolbar { flex-wrap: wrap; }
  .market-toolbar .search { flex-basis: 100%; }
  .section { padding: 64px 0; }
  .action-grid { grid-template-columns: 1fr; }
  .exchange-flow {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .arrow { transform: rotate(90deg); justify-content: center; padding: 2px 0; }
  .cta-box { padding: 32px 24px; }
  .cta-box .btn { width: 100%; }
  .foot .wrap { flex-direction: column; }
  .foot-meta { text-align: left; }
  .strip .wrap { grid-template-columns: 1fr; }
  .strip-item {
    border-right: 0;
    border-bottom: 1px solid #e9eef5;
    padding: 10px 0;
  }
  .strip-item:last-child { border-bottom: 0; }
  .quality-list { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1; }
}
