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

:root {
  color-scheme: dark;
  --bg: #070914;
  --bg-2: #0a0e1d;
  --panel: rgba(15, 20, 40, .78);
  --panel-solid: #10152a;
  --panel-hover: #151c37;
  --line: rgba(139, 150, 204, .15);
  --line-bright: rgba(128, 96, 255, .46);
  --text: #f5f6ff;
  --muted: #939bb8;
  --muted-2: #69728f;
  --violet: #7c4dff;
  --violet-2: #a76cff;
  --cyan: #35d9ff;
  --pink: #ffb7c5;
  --green: #67e8b4;
  --warning: #ffc767;
  --danger: #ff6789;
  --radius: 18px;
  --shadow: 0 24px 80px rgba(0, 0, 0, .28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 72% 10%, rgba(73, 42, 184, .14), transparent 24rem),
    linear-gradient(145deg, #070914 0%, #070a17 48%, #080b18 100%);
  font-family: Inter, "Noto Sans SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 14px;
  top: -60px;
  padding: 10px 16px;
  color: #070914;
  background: var(--cyan);
  border-radius: 10px;
  transition: top .2s ease;
}
.skip-link:focus { top: 14px; }
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.ambient { position: fixed; z-index: -1; pointer-events: none; filter: blur(90px); opacity: .22; }
.ambient-one { width: 420px; height: 420px; top: 38%; left: 38%; background: #4f21c9; }
.ambient-two { width: 340px; height: 340px; right: -120px; bottom: 4%; background: #123faa; }

.sidebar {
  position: fixed;
  z-index: 50;
  inset: 0 auto 0 0;
  width: 224px;
  display: flex;
  flex-direction: column;
  padding: 24px 16px 18px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(10, 13, 28, .98), rgba(8, 11, 24, .96));
  backdrop-filter: blur(20px);
}
.sidebar::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 20% 8%, rgba(110, 67, 255, .12), transparent 15rem);
}
.sidebar-close { display: none !important; }
.brand {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 8px 30px;
  color: var(--text);
  text-decoration: none;
}
.brand img { filter: drop-shadow(0 9px 18px rgba(95, 60, 255, .25)); }
.brand span { display: grid; line-height: 1.08; }
.brand strong { font-size: 18px; letter-spacing: .12em; }
.brand small { margin-top: 7px; color: #bbc0d5; font-size: 12px; letter-spacing: .12em; }
.nav-list { position: relative; display: grid; gap: 4px; overflow-y: auto; scrollbar-width: none; }
.nav-caption {
  margin: 15px 12px 6px;
  color: #555e7b;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.nav-item {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: #aab1c9;
  background: transparent;
  text-align: left;
  font-size: 13px;
  cursor: pointer;
  transition: .2s ease;
}
.nav-item span { width: 18px; color: #9099bd; font-size: 18px; text-align: center; }
.nav-item b { margin-left: auto; padding: 2px 7px; border-radius: 99px; color: #c6b7ff; background: rgba(124, 77, 255, .14); font-size: 10px; }
.nav-item:hover { color: #fff; background: rgba(255, 255, 255, .035); }
.nav-item.active {
  color: #fff;
  border-color: rgba(135, 84, 255, .22);
  background: linear-gradient(90deg, rgba(99, 58, 224, .38), rgba(89, 44, 180, .18));
  box-shadow: inset 3px 0 0 #8454ff;
}
.nav-item.active span { color: #bdadff; }
.side-member-card {
  position: relative;
  margin-top: auto;
  padding: 17px;
  overflow: hidden;
  border: 1px solid rgba(119, 85, 240, .22);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(41, 31, 91, .62), rgba(17, 22, 46, .82));
}
.side-member-card::after {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  right: -35px;
  top: -38px;
  border-radius: 50%;
  background: rgba(124, 77, 255, .28);
  filter: blur(24px);
}
.eyebrow, .section-kicker { color: #9f83ff; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.side-member-card h3 { margin: 7px 0 5px; font-size: 15px; }
.side-member-card p { margin: 0 0 13px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.sidebar-foot { position: relative; display: flex; gap: 10px; justify-content: center; padding-top: 16px; }
.mini-social {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .26);
}
.mini-social.wechat { background: #17ba61; }
.mini-social.video { background: #ffae24; }
.mini-social.red { background: #ff3855; }

.app-shell { min-height: 100vh; margin-left: 224px; }
.topbar {
  position: sticky;
  z-index: 40;
  top: 0;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 32px;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 9, 20, .78);
  backdrop-filter: blur(24px) saturate(150%);
}
.mobile-menu { display: none !important; }
.search-trigger {
  width: min(440px, 44vw);
  height: 42px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 13px;
  border: 1px solid rgba(122, 135, 187, .13);
  border-radius: 11px;
  color: #707a99;
  background: rgba(13, 18, 37, .7);
  text-align: left;
  cursor: pointer;
}
.search-trigger:hover { border-color: rgba(124, 77, 255, .32); background: rgba(17, 23, 47, .86); }
.search-trigger > span:first-child { font-size: 22px; }
.search-placeholder { flex: 1; }
kbd { padding: 3px 7px; border: 1px solid #29314f; border-radius: 5px; color: #737d9e; background: #10152a; font-size: 9px; }
.top-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.source-status, .ghost-button, .refresh-button, .text-button {
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}
.source-status { display: flex; align-items: center; gap: 7px; padding: 8px 10px; border-radius: 9px; font-size: 11px; }
.source-status:hover { color: #fff; background: rgba(255, 255, 255, .04); }
.source-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(103, 232, 180, .09), 0 0 11px rgba(103, 232, 180, .7); }
.source-status b { min-width: 18px; padding: 2px 5px; border-radius: 99px; color: #a9f5d2; background: rgba(103, 232, 180, .1); font-size: 9px; }
.icon-button {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #a1a9c1;
  background: transparent;
  cursor: pointer;
}
.icon-button:hover { color: #fff; border-color: var(--line); background: rgba(255, 255, 255, .04); }
.notification-button { position: relative; }
.notification-button b { position: absolute; top: 2px; right: 2px; min-width: 16px; height: 16px; padding: 0 4px; border: 2px solid var(--bg); border-radius: 99px; color: #fff; background: #f03b68; font-size: 8px; line-height: 12px; }
.ghost-button { min-height: 38px; padding: 0 12px; }
.ghost-button:hover { color: #fff; }
.primary-button, .outline-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  border-radius: 11px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.primary-button {
  border: 1px solid #8d5cff;
  color: #fff;
  background: linear-gradient(135deg, #7d45f4, #5b31d5);
  box-shadow: 0 12px 28px rgba(82, 45, 214, .24), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 16px 35px rgba(82, 45, 214, .38); }
.primary-button.compact { min-height: 38px; padding: 0 16px; font-size: 11px; }
.outline-button {
  border: 1px solid rgba(151, 114, 255, .56);
  color: #dcd8ed;
  background: rgba(12, 16, 32, .62);
}
.outline-button:hover { transform: translateY(-2px); border-color: #a581ff; background: rgba(67, 45, 126, .22); }

main { min-height: calc(100vh - 72px); }
.page { display: none; }
.page.active { display: block; animation: pageIn .35s ease both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }

.hero {
  position: relative;
  min-height: 550px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 9, 20, 1) 0%, rgba(7, 9, 20, .95) 31%, rgba(7, 9, 20, .4) 56%, rgba(7, 9, 20, .08) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 26%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image: linear-gradient(rgba(92, 105, 175, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(92, 105, 175, .025) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(90deg, black, transparent 75%);
}
.hero-visual {
  position: absolute;
  inset: 0;
  background: url("assets/richu-ai-hero.png") center / cover no-repeat;
  opacity: .94;
}
.hero-copy { position: relative; z-index: 3; width: min(670px, 54%); padding: 54px 0 52px clamp(32px, 5vw, 86px); }
.hero-kicker { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px; color: #aeb5cf; font-size: 11px; letter-spacing: .06em; }
.hero-kicker span { padding: 4px 7px; border: 1px solid rgba(103, 232, 180, .28); border-radius: 5px; color: #8af3c5; background: rgba(103, 232, 180, .08); font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.hero h1 { margin: 0; font-size: clamp(36px, 3.7vw, 60px); line-height: 1.08; letter-spacing: -.045em; text-shadow: 0 8px 34px rgba(0, 0, 0, .55); }
.hero h2 { margin: 13px 0 15px; font-size: clamp(20px, 2vw, 30px); line-height: 1.42; letter-spacing: -.025em; background: linear-gradient(90deg, #fff, #dcd9ef 67%, #9d8aca); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy > p { max-width: 610px; margin: 0; color: #a5abc1; font-size: 14px; line-height: 1.85; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 25px; margin: 25px 0; }
.hero-stat { display: flex; align-items: center; gap: 10px; }
.hero-stat i { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(127, 83, 255, .2); border-radius: 10px; color: #b59cff; background: rgba(81, 54, 156, .22); font-size: 16px; font-style: normal; }
.hero-stat div { display: grid; gap: 2px; }
.hero-stat strong { font-size: 16px; }
.hero-stat small { color: var(--muted-2); font-size: 9px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; color: #717b99; font-size: 9px; }
.trust-row span::first-letter { color: var(--green); }

.section-block { width: min(1440px, calc(100% - 64px)); margin: 0 auto; padding: 38px 0; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.section-heading h2 { margin: 6px 0 0; font-size: 22px; letter-spacing: -.03em; }
.text-button { padding: 8px 0; font-size: 11px; }
.text-button:hover { color: #c3b2ff; }
.heading-actions { display: flex; align-items: center; gap: 12px; }
.last-sync { color: var(--muted-2); font-size: 10px; }
.refresh-button { padding: 7px 11px; border: 1px solid var(--line); border-radius: 8px; font-size: 10px; }
.refresh-button:hover { color: #fff; border-color: var(--line-bright); }
.refresh-button.loading { pointer-events: none; opacity: .7; }

.quick-entry { margin-top: -30px; padding: 0; position: relative; z-index: 5; }
.quick-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.quick-card {
  min-width: 0;
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--text);
  background: rgba(16, 21, 42, .91);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .2);
  text-align: left;
  cursor: pointer;
  transition: .2s ease;
}
.quick-card:hover { transform: translateY(-3px); border-color: rgba(130, 88, 255, .42); background: var(--panel-hover); }
.quick-icon { flex: 0 0 39px; width: 39px; height: 39px; display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--quick-color) 25%, transparent); border-radius: 11px; color: var(--quick-color); background: color-mix(in srgb, var(--quick-color) 13%, transparent); font-size: 19px; }
.quick-card div { display: grid; gap: 5px; min-width: 0; }
.quick-card strong { overflow: hidden; font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }
.quick-card small { color: var(--muted-2); font-size: 9px; }

.path-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.path-card {
  position: relative;
  min-height: 252px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(19, 26, 51, .9), rgba(11, 15, 31, .94));
  transition: .24s ease;
}
.path-card::after { content: ""; position: absolute; width: 130px; height: 130px; right: -54px; top: -58px; border-radius: 50%; background: var(--path-glow); filter: blur(28px); opacity: .17; }
.path-card:hover { transform: translateY(-5px); border-color: rgba(129, 88, 255, .38); box-shadow: var(--shadow); }
.path-number { color: rgba(164, 144, 234, .33); font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.path-art { width: 66px; height: 66px; display: grid; place-items: center; margin: 12px auto 15px; border: 1px solid rgba(122, 89, 239, .26); border-radius: 20px 20px 12px 12px; color: var(--path-color); background: linear-gradient(145deg, rgba(99, 65, 215, .2), rgba(27, 45, 93, .45)); font-size: 31px; box-shadow: 0 17px 32px rgba(25, 18, 66, .32), inset 0 1px 0 rgba(255, 255, 255, .12); transform: perspective(200px) rotateX(6deg); }
.path-card h3 { margin: 0; font-size: 14px; }
.path-card p { min-height: 34px; margin: 7px 0 17px; color: var(--muted); font-size: 10px; line-height: 1.65; }
.path-meta { display: flex; justify-content: space-between; margin-bottom: 8px; color: #747d9b; font-size: 9px; }
.progress { height: 4px; overflow: hidden; border-radius: 99px; background: #1b2340; }
.progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--path-color), #7860ff); box-shadow: 0 0 10px var(--path-color); }
.path-open { position: absolute; inset: 0; width: 100%; border: 0; background: transparent; cursor: pointer; }

.workflow-lab { padding-top: 30px; }
.workflow-lab .section-heading p { max-width: 700px; margin: 7px 0 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.workflow-demo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.workflow-demo-card { position: relative; min-width: 0; min-height: 230px; padding: 19px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: radial-gradient(circle at 100% 0, color-mix(in srgb, var(--demo-accent) 16%, transparent), transparent 14rem), linear-gradient(155deg, rgba(18, 24, 47, .94), rgba(8, 12, 26, .96)); transition: .22s ease; }
.workflow-demo-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--demo-accent) 44%, transparent); box-shadow: var(--shadow); }
.workflow-demo-head { display: flex; align-items: center; justify-content: space-between; color: var(--demo-accent); font-size: 9px; }
.workflow-demo-head small { color: #a7afc8; }
.workflow-demo-card h3 { margin: 12px 0 20px; font-size: 14px; line-height: 1.45; }
.workflow-track { min-width: 0; display: flex; align-items: center; gap: 6px; overflow-x: auto; padding: 7px 2px 12px; scrollbar-width: thin; }
.workflow-node { position: relative; flex: 0 0 104px; min-height: 73px; display: grid; align-content: center; gap: 6px; padding: 10px; border: 1px solid rgba(130, 92, 245, .25); border-radius: 11px; background: rgba(9, 13, 28, .88); opacity: .44; transform: translateY(3px); }
.workflow-node span { color: #9279e8; font-size: 8px; font-weight: 800; }
.workflow-node b { color: #c4c9da; font-size: 9px; font-weight: 600; line-height: 1.45; }
.workflow-edge { position: relative; flex: 0 0 24px; height: 2px; overflow: hidden; border-radius: 99px; background: rgba(119, 89, 219, .2); }
.workflow-edge em { position: absolute; width: 12px; height: 100%; border-radius: inherit; background: linear-gradient(90deg, transparent, #9a7cff); box-shadow: 0 0 9px #7657e4; }
.workflow-track.is-running .workflow-node { animation: workflowNode 5.4s ease-in-out infinite; animation-delay: calc(var(--node-index) * .75s); }
.workflow-track.is-running .workflow-edge em { animation: workflowEdge 1.5s linear infinite; animation-delay: calc(var(--edge-index) * .75s); }
.workflow-track.paused *, .workflow-track.paused *::before, .workflow-track.paused *::after { animation-play-state: paused !important; }
@keyframes workflowNode { 0%, 15%, 100% { opacity: .44; transform: translateY(3px); border-color: rgba(130, 92, 245, .25); } 24%, 43% { opacity: 1; transform: translateY(0); border-color: rgba(139, 105, 255, .82); box-shadow: 0 0 22px rgba(117, 78, 235, .25), inset 0 0 16px rgba(117, 78, 235, .09); } }
@keyframes workflowEdge { from { transform: translateX(-14px); } to { transform: translateX(26px); } }
.workflow-modal-demo { margin: 10px 0 24px; padding: 14px; border: 1px solid rgba(126, 87, 245, .24); border-radius: 14px; background: rgba(7, 10, 23, .48); }
.workflow-modal-demo .workflow-node { flex-basis: 118px; }

.filter-row { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.filter-chip {
  min-height: 32px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #8992af;
  background: rgba(16, 22, 43, .68);
  font-size: 10px;
  cursor: pointer;
}
.filter-chip:hover { color: #fff; border-color: rgba(120, 84, 239, .35); }
.filter-chip.active { color: #fff; border-color: rgba(136, 91, 255, .45); background: linear-gradient(135deg, rgba(102, 56, 224, .8), rgba(66, 42, 151, .75)); box-shadow: 0 8px 20px rgba(73, 43, 176, .19); }
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.news-card {
  min-height: 144px;
  display: grid;
  grid-template-columns: 8px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(14, 19, 38, .78);
  transition: .2s ease;
}
.news-card:hover { border-color: rgba(126, 87, 245, .36); background: rgba(19, 25, 49, .94); transform: translateY(-2px); }
.news-source-rail { background: linear-gradient(180deg, var(--source-accent), transparent); opacity: .72; }
.news-body { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 17px; }
.news-main { min-width: 0; }
.news-labels { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--muted-2); font-size: 9px; }
.news-labels .verified { padding: 3px 6px; border-radius: 5px; color: #8bf0c4; background: rgba(103, 232, 180, .08); }
.news-card h3 { margin: 0 0 7px; font-size: 13px; line-height: 1.5; }
.news-card p { display: -webkit-box; margin: 0; overflow: hidden; color: #838ca8; font-size: 10px; line-height: 1.65; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.news-impact { display: flex; align-items: flex-start; gap: 8px; margin-top: 9px; padding: 7px 9px; border-radius: 8px; background: rgba(126, 87, 245, .07); color: #8992ad; font-size: 9px; line-height: 1.55; }
.news-impact b { flex: 0 0 auto; color: #b8a5ff; font-size: 8px; }
.news-foot { display: flex; align-items: center; gap: 12px; margin-top: 12px; color: #5f6886; font-size: 9px; }
.news-foot a, .news-foot button { padding: 0; border: 0; color: #9b86e7; background: transparent; font: inherit; text-decoration: none; cursor: pointer; }
.news-foot a:hover, .news-foot button:hover { color: #cbbfff; }
.favorite-button { position: relative; z-index: 3; align-self: start; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 9px; color: #77809d; background: rgba(8, 12, 26, .45); cursor: pointer; }
.favorite-button:hover, .favorite-button.saved { color: #ffcc7c; border-color: rgba(255, 199, 103, .34); background: rgba(255, 199, 103, .07); }
.news-skeleton { height: 144px; border-radius: 14px; background: linear-gradient(100deg, #10162b 20%, #18203b 40%, #10162b 60%); background-size: 200% 100%; animation: shimmer 1.3s infinite linear; }
@keyframes shimmer { to { background-position: -200% 0; } }
.empty-state { grid-column: 1 / -1; padding: 42px 20px; border: 1px dashed var(--line); border-radius: 16px; color: var(--muted); text-align: center; }

.system-section {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) 1.45fr;
  gap: 46px;
  align-items: center;
  margin-top: 20px;
  padding: 35px;
  border: 1px solid rgba(128, 91, 236, .2);
  border-radius: 20px;
  background: radial-gradient(circle at 90% 50%, rgba(70, 54, 165, .18), transparent 36%), rgba(15, 20, 40, .64);
}
.system-copy h2 { margin: 7px 0 10px; font-size: 23px; }
.system-copy p { margin: 0 0 18px; color: var(--muted); font-size: 11px; line-height: 1.75; }
.pipeline { display: flex; align-items: center; gap: 10px; }
.pipeline > div { flex: 1; min-height: 118px; display: flex; flex-direction: column; justify-content: center; padding: 14px; border: 1px solid var(--line); border-radius: 13px; background: linear-gradient(150deg, rgba(28, 33, 65, .84), rgba(14, 18, 37, .9)); }
.pipeline b { margin-bottom: 13px; color: #7556d8; font-size: 10px; }
.pipeline span { font-size: 11px; font-weight: 700; }
.pipeline small { margin-top: 5px; color: var(--muted-2); font-size: 9px; }
.pipeline i { color: #5e4f98; font-style: normal; }

.membership-preview { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 32px; margin-bottom: 38px; padding: 28px 32px; border: 1px solid rgba(139, 94, 255, .34); border-radius: 18px; background: linear-gradient(110deg, rgba(48, 31, 100, .75), rgba(17, 22, 47, .88) 66%, rgba(22, 60, 87, .5)); box-shadow: 0 22px 70px rgba(21, 10, 66, .28); }
.membership-preview h2 { margin: 7px 0; font-size: 22px; }
.membership-preview p { margin: 0; color: #9fa5bd; font-size: 11px; }

.inner-page { width: min(1440px, calc(100% - 64px)); margin: 0 auto; padding: 50px 0 80px; }
.inner-hero { min-height: 190px; display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 30px; padding: 34px 38px; border: 1px solid var(--line); border-radius: 20px; background: radial-gradient(circle at 85% 30%, rgba(105, 61, 235, .22), transparent 20rem), linear-gradient(145deg, rgba(18, 24, 47, .88), rgba(10, 14, 29, .9)); }
.inner-hero h1, .pricing-hero h1 { margin: 8px 0 9px; font-size: clamp(30px, 4vw, 46px); letter-spacing: -.045em; }
.inner-hero p, .pricing-hero p { max-width: 660px; margin: 0; color: var(--muted); line-height: 1.8; }
.inner-hero-stat { flex: 0 0 auto; min-width: 150px; display: grid; padding: 20px; border: 1px solid rgba(139, 93, 255, .27); border-radius: 16px; background: rgba(73, 48, 144, .13); text-align: center; }
.inner-hero-stat strong { color: #c2b2ff; font-size: 36px; }
.inner-hero-stat span { color: var(--muted); font-size: 10px; }
.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.content-card { position: relative; min-height: 220px; display: flex; flex-direction: column; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(150deg, rgba(18, 24, 47, .92), rgba(10, 14, 29, .92)); transition: .22s ease; }
.content-card:hover { transform: translateY(-4px); border-color: rgba(124, 80, 247, .4); box-shadow: var(--shadow); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-type { display: inline-flex; padding: 4px 8px; border-radius: 6px; color: #bba7ff; background: rgba(124, 77, 255, .11); font-size: 9px; }
.member-lock { color: var(--warning); font-size: 9px; }
.member-lock.unlocked { color: var(--green); }
.content-card h3 { margin: 17px 0 8px; font-size: 16px; line-height: 1.45; }
.content-card p { display: -webkit-box; margin: 0; overflow: hidden; color: var(--muted); font-size: 11px; line-height: 1.7; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.content-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 18px; color: var(--muted-2); font-size: 9px; }
.card-open { position: absolute; z-index: 1; inset: 0; border: 0; background: transparent; cursor: pointer; }

.pricing-hero { padding: 28px 0 36px; text-align: center; }
.pricing-hero p { margin-inline: auto; }
.billing-toggle { width: max-content; display: flex; margin: 22px auto 0; padding: 4px; border: 1px solid var(--line); border-radius: 11px; background: #0d1225; }
.billing-toggle button { min-height: 34px; padding: 0 14px; border: 0; border-radius: 8px; color: var(--muted); background: transparent; font-size: 10px; cursor: pointer; }
.billing-toggle button.active { color: #fff; background: rgba(110, 65, 233, .72); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; min-height: 470px; padding: 28px; overflow: hidden; border: 1px solid var(--line); border-radius: 19px; background: linear-gradient(160deg, rgba(18, 24, 46, .95), rgba(9, 13, 27, .96)); }
.price-card.featured { border-color: rgba(135, 86, 255, .7); background: radial-gradient(circle at 70% 0, rgba(117, 69, 245, .24), transparent 18rem), linear-gradient(160deg, rgba(28, 24, 62, .98), rgba(10, 14, 29, .98)); box-shadow: 0 28px 80px rgba(59, 30, 152, .28); transform: translateY(-8px); }
.popular-badge { position: absolute; top: 15px; right: -34px; width: 130px; padding: 6px 0; color: #fff; background: linear-gradient(90deg, #7650e9, #9b60ff); text-align: center; font-size: 8px; font-weight: 800; transform: rotate(34deg); }
.price-card .plan-label { color: var(--muted); font-size: 10px; letter-spacing: .12em; }
.price-card h2 { margin: 8px 0 8px; font-size: 22px; }
.plan-desc { min-height: 43px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.price { display: flex; align-items: baseline; gap: 5px; margin: 24px 0 4px; }
.price sup { font-size: 14px; }
.price strong { font-size: 43px; letter-spacing: -.05em; }
.price span { color: var(--muted); font-size: 10px; }
.price-note { color: var(--muted-2); font-size: 9px; }
.feature-list { display: grid; gap: 11px; margin: 25px 0; padding: 0; list-style: none; color: #b8bfd4; font-size: 11px; }
.feature-list li { display: flex; gap: 8px; line-height: 1.5; }
.feature-list li::before { content: "✓"; color: var(--green); }
.price-card .primary-button, .price-card .outline-button { width: 100%; margin-top: auto; }
.payment-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 30px 0 50px; }
.payment-trust > div { display: grid; grid-template-columns: 44px 1fr; gap: 3px 12px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(13, 18, 36, .72); }
.payment-trust strong { font-size: 12px; }
.payment-trust small { color: var(--muted-2); font-size: 9px; }
.payment-mark { grid-row: 1 / 3; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; font-weight: 800; }
.wechat-pay { color: #fff; background: #15b65c; }
.alipay-pay { color: #fff; background: #1677ff; }
.secure-pay { color: #8ceec4; background: rgba(103, 232, 180, .12); }
.faq { max-width: 900px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 18px 2px; border: 0; color: #dfe2ef; background: transparent; text-align: left; cursor: pointer; }
.faq-question span { color: #7965bf; transition: transform .2s; }
.faq-item.open .faq-question span { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 2px 18px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.faq-item.open .faq-answer { display: block; }

.footer { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 24px; padding: 22px 32px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 9px; }
.footer > div:first-child { display: flex; align-items: center; gap: 8px; color: #b9bfd3; font-weight: 700; }
.footer p { margin: 0; }
.footer button { border: 0; color: var(--muted-2); background: none; font-size: 9px; cursor: pointer; }
.footer button:hover { color: #fff; }

.modal-backdrop { position: fixed; z-index: 100; inset: 0; background: rgba(3, 5, 13, .78); backdrop-filter: blur(11px); }
.modal { position: fixed; z-index: 110; top: 50%; left: 50%; width: min(680px, calc(100% - 32px)); max-height: min(760px, calc(100vh - 32px)); padding: 28px; overflow-y: auto; border: 1px solid rgba(130, 92, 245, .34); border-radius: 20px; background: radial-gradient(circle at 90% 0, rgba(99, 56, 218, .2), transparent 22rem), #0e1328; box-shadow: 0 35px 120px rgba(0, 0, 0, .56); transform: translate(-50%, -50%); animation: modalIn .24s ease both; }
@keyframes modalIn { from { opacity: 0; transform: translate(-50%, -47%) scale(.98); } }
.modal-close { position: absolute; top: 14px; right: 14px; font-size: 22px; }
.modal h2 { margin: 0 36px 8px 0; font-size: 24px; }
.modal h3 { margin: 22px 0 8px; font-size: 15px; }
.modal p { color: var(--muted); font-size: 11px; line-height: 1.8; }
.modal-tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0; }
.modal-tag { padding: 5px 8px; border-radius: 6px; color: #bcaaff; background: rgba(124, 77, 255, .1); font-size: 9px; }
.detail-steps { display: grid; gap: 9px; margin: 16px 0 24px; }
.detail-step { display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 11px; background: rgba(8, 12, 26, .48); }
.detail-step b { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; color: #c3b3ff; background: rgba(124, 77, 255, .15); font-size: 10px; }
.detail-step span { font-size: 11px; line-height: 1.6; }
.access-granted { padding: 11px; border: 1px solid rgba(103, 232, 180, .2); border-radius: 9px; color: #8eecc5; background: rgba(103, 232, 180, .06); font-size: 9px; }
.news-detail-source { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin: 15px 0 20px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); font-size: 9px; }
.news-detail-source span { color: var(--green); }
.news-detail-source b { color: #d8dbea; }
.news-detail-source small { margin-left: auto; }
.inference-panel { display: grid; gap: 7px; margin: 12px 0 16px; padding: 15px; border: 1px solid rgba(133, 92, 245, .25); border-radius: 12px; background: rgba(102, 64, 213, .08); }
.inference-panel span { color: #ae98ff; font-size: 9px; font-weight: 800; letter-spacing: .04em; }
.inference-panel strong { font-size: 12px; line-height: 1.6; }
.inference-panel p { margin: 0; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.search-box, .form-field { width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: 11px; color: #fff; background: #090e20; }
.search-results { display: grid; gap: 8px; margin-top: 14px; }
.search-result { width: 100%; display: grid; gap: 5px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; color: #fff; background: rgba(14, 19, 38, .72); text-align: left; cursor: pointer; }
.search-result:hover { border-color: var(--line-bright); }
.search-result small { color: var(--muted-2); }
.form-stack { display: grid; gap: 12px; margin-top: 18px; }
.form-label { display: grid; gap: 6px; color: #aab1c6; font-size: 10px; }
.login-note, .sandbox-note { padding: 11px; border: 1px solid rgba(255, 199, 103, .18); border-radius: 9px; color: #c6ad7c; background: rgba(255, 199, 103, .06); font-size: 9px; line-height: 1.6; }
.payment-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; }
.payment-option { display: flex; align-items: center; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(10, 14, 29, .65); cursor: pointer; }
.payment-option:has(input:checked) { border-color: rgba(130, 87, 255, .65); background: rgba(97, 60, 202, .13); }
.payment-option input { accent-color: var(--violet); }
.payment-option b { font-size: 11px; }
.demo-qr { width: 176px; height: 176px; display: grid; place-items: center; margin: 18px auto; padding: 12px; border: 8px solid #fff; border-radius: 9px; color: #0a0a0e; background-color: #fff; background-image: repeating-linear-gradient(0deg, transparent 0 7px, #111 7px 11px), repeating-linear-gradient(90deg, transparent 0 8px, rgba(0,0,0,.8) 8px 12px); background-blend-mode: multiply; font-size: 11px; font-weight: 900; text-align: center; }
.order-summary { display: flex; justify-content: space-between; gap: 15px; padding: 14px; border: 1px solid var(--line); border-radius: 11px; background: rgba(8, 12, 26, .5); }
.order-summary strong { color: #c8baff; }
.member-overview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin: 18px 0 10px; }
.member-overview > div { min-width: 0; display: grid; gap: 6px; padding: 13px; border: 1px solid var(--line); border-radius: 11px; background: rgba(8, 12, 26, .5); }
.member-overview span { color: var(--muted-2); font-size: 9px; }
.member-overview strong { overflow: hidden; color: #c8baff; font-size: 16px; text-overflow: ellipsis; }
.member-expiry { color: var(--muted); font-size: 9px; line-height: 1.6; }
.source-list { display: grid; gap: 9px; margin-top: 16px; }
.source-item { display: grid; grid-template-columns: 10px 1fr auto; gap: 10px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 10px; }
.source-item i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.source-item span { display: grid; gap: 2px; font-size: 11px; }
.source-item small { color: var(--muted-2); }
.source-item a { color: #a991ff; font-size: 9px; text-decoration: none; }
.toast-region { position: fixed; z-index: 200; right: 18px; bottom: 18px; display: grid; gap: 9px; pointer-events: none; }
.toast { min-width: 250px; max-width: min(390px, calc(100vw - 36px)); padding: 13px 15px; border: 1px solid rgba(127, 91, 238, .32); border-radius: 11px; color: #dfe2ef; background: rgba(15, 21, 43, .96); box-shadow: var(--shadow); font-size: 10px; line-height: 1.6; animation: toastIn .25s ease both; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } }
.menu-backdrop { display: none; }

@media (max-width: 1280px) {
  .quick-grid { grid-template-columns: repeat(3, 1fr); }
  .path-grid { grid-template-columns: repeat(3, 1fr); }
  .workflow-demo-grid { grid-template-columns: 1fr; }
  .path-card:nth-child(n+4) { min-height: 230px; }
  .content-grid { grid-template-columns: repeat(2, 1fr); }
  .topbar { padding-inline: 24px; }
  .system-section { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
  .sidebar { transform: translateX(-100%); transition: transform .25s ease; }
  body.menu-open .sidebar { transform: translateX(0); }
  .sidebar-close { position: absolute; z-index: 2; top: 10px; right: 8px; display: inline-grid !important; }
  .menu-backdrop { position: fixed; z-index: 45; inset: 0; background: rgba(2, 4, 12, .7); backdrop-filter: blur(5px); }
  body.menu-open .menu-backdrop { display: block; }
  .app-shell { margin-left: 0; }
  .mobile-menu { display: inline-grid !important; }
  .hero-copy { width: 65%; padding-left: 40px; }
  .section-block, .inner-page { width: calc(100% - 48px); }
  .footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .topbar { height: 62px; gap: 8px; padding-inline: 12px; }
  .search-trigger { width: auto; min-width: 0; flex: 1; }
  .search-placeholder { display: none; }
  .search-trigger kbd, .source-status span, .source-status b, .desktop-only, .notification-button, .top-actions .ghost-button { display: none !important; }
  .top-actions { flex: 0 0 30px; margin-left: 0; }
  .source-status { width: 30px; justify-content: center; padding: 8px 5px; }
  .hero { min-height: 690px; align-items: flex-end; }
  .hero-visual { background-position: 64% top; background-size: auto 420px; background-repeat: no-repeat; }
  .hero::before { background: linear-gradient(0deg, var(--bg) 20%, rgba(7, 9, 20, .3) 67%, rgba(7, 9, 20, .15)); }
  .hero-copy { min-width: 0; width: 100%; padding: 260px 20px 46px; }
  .hero h1 { font-size: 37px; }
  .hero h2 { font-size: 21px; }
  .hero-copy > p { font-size: 12px; }
  .hero-stats { gap: 13px 19px; }
  .hero-stat i { width: 30px; height: 30px; }
  .hero-actions { display: grid; }
  .hero-actions button { width: 100%; }
  .trust-row { gap: 8px 14px; }
  .section-block, .inner-page { width: calc(100% - 28px); }
  .quick-entry { margin-top: -22px; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .quick-card { min-height: 67px; padding: 10px; }
  .quick-icon { flex-basis: 33px; width: 33px; height: 33px; }
  .quick-card strong { font-size: 10px; }
  .section-block { padding: 30px 0; }
  .section-heading { align-items: center; }
  .section-heading h2 { font-size: 19px; }
  .path-grid, .news-grid, .content-grid, .pricing-grid, .payment-trust, .workflow-demo-grid { grid-template-columns: 1fr; }
  .path-grid { gap: 10px; }
  .path-card { min-height: 205px; }
  .path-art { margin: 5px auto 12px; }
  .heading-actions { display: grid; justify-items: end; gap: 5px; }
  .pipeline { display: grid; grid-template-columns: 1fr; }
  .pipeline i { text-align: center; transform: rotate(90deg); }
  .system-section { width: calc(100% - 28px); padding: 22px; }
  .membership-preview { width: calc(100% - 28px); align-items: stretch; flex-direction: column; padding: 23px; }
  .inner-page { padding-top: 24px; }
  .inner-hero { align-items: flex-start; flex-direction: column; padding: 24px; }
  .inner-hero-stat { width: 100%; }
  .price-card.featured { transform: none; }
  .payment-trust { gap: 8px; }
  .footer { grid-template-columns: 1fr; gap: 9px; padding: 20px 16px; }
  .footer p { display: none; }
  .footer > div:nth-child(3) { display: flex; flex-wrap: wrap; }
  .modal { padding: 24px 18px; }
  .modal h2 { font-size: 20px; }
  .payment-methods { grid-template-columns: 1fr; }
  .member-overview { grid-template-columns: 1fr; }
  .workflow-node { flex-basis: 92px; }
}

/* RICHU Light Intelligence System */
:root {
  color-scheme: light;
  --bg: #f6f7fd;
  --bg-2: #eef2ff;
  --panel: rgba(255, 255, 255, .88);
  --panel-solid: #ffffff;
  --panel-hover: #fbfaff;
  --line: rgba(63, 68, 118, .13);
  --line-bright: rgba(112, 83, 230, .42);
  --text: #172039;
  --muted: #68728c;
  --muted-2: #8a93aa;
  --violet: #7053e6;
  --violet-2: #9a7aff;
  --cyan: #35b9dd;
  --green: #15a878;
  --warning: #c98524;
  --shadow: 0 24px 70px rgba(59, 57, 108, .13);
}
body {
  color: var(--text);
  background:
    radial-gradient(circle at 72% 8%, rgba(130, 105, 243, .14), transparent 30rem),
    radial-gradient(circle at 32% 48%, rgba(76, 196, 224, .1), transparent 28rem),
    linear-gradient(145deg, #fbfbff 0%, #f5f7ff 48%, #f3f6ff 100%);
}
.ambient { opacity: .11; }
.ambient-one { background: #9a7aff; }
.ambient-two { background: #56cce6; }
.sidebar {
  border-right-color: rgba(75, 78, 126, .11);
  background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(246, 247, 255, .97));
  box-shadow: 12px 0 45px rgba(62, 62, 103, .06);
}
.sidebar::before { background: radial-gradient(circle at 20% 8%, rgba(118, 83, 238, .1), transparent 15rem); }
.brand small, .nav-item { color: #68718b; }
.nav-caption { color: #a1a7ba; }
.nav-item span { color: #7e87a1; }
.nav-item:hover { color: #352963; background: rgba(112, 83, 230, .06); }
.nav-item.active {
  color: #4a2ead;
  border-color: rgba(112, 83, 230, .15);
  background: linear-gradient(90deg, rgba(112, 83, 230, .14), rgba(137, 108, 245, .05));
  box-shadow: inset 3px 0 0 #7053e6;
}
.nav-item.active span { color: #7053e6; }
.side-member-card {
  border-color: rgba(112, 83, 230, .18);
  background: linear-gradient(145deg, rgba(241, 237, 255, .96), rgba(250, 250, 255, .98));
  box-shadow: 0 14px 32px rgba(76, 56, 151, .08);
}
.topbar {
  border-bottom-color: rgba(63, 68, 118, .1);
  background: rgba(250, 251, 255, .84);
  box-shadow: 0 8px 28px rgba(64, 65, 105, .04);
}
.search-trigger {
  color: #858da5;
  border-color: rgba(70, 75, 126, .11);
  background: rgba(255, 255, 255, .86);
}
.search-trigger:hover { border-color: rgba(112, 83, 230, .32); background: #fff; }
kbd { color: #7e86a0; border-color: #d9dced; background: #f3f4fb; }
.source-status, .ghost-button, .refresh-button, .text-button { color: #69738c; }
.icon-button { color: #59637e; background: rgba(255, 255, 255, .72); }
.outline-button { color: #463c71; border-color: rgba(93, 75, 160, .22); background: rgba(255, 255, 255, .72); }
.outline-button:hover { color: #4c31b7; border-color: rgba(112, 83, 230, .42); background: #fff; }
.primary-button { box-shadow: 0 12px 28px rgba(101, 69, 219, .22); }
.hero {
  min-height: 650px;
  border-bottom: 1px solid rgba(72, 75, 124, .08);
  background: #fbfbff;
}
.hero-visual { background: url("assets/richu-light-hero.png") center right / cover no-repeat; }
.hero::before {
  z-index: 2;
  background: linear-gradient(90deg, rgba(251, 251, 255, 1) 0%, rgba(251, 251, 255, .96) 39%, rgba(251, 251, 255, .48) 61%, rgba(251, 251, 255, .06) 100%);
}
.hero::after { opacity: .16; }
.hero h1 { color: #151d36; text-shadow: none; }
.hero h2 {
  background: linear-gradient(90deg, #312760, #6751c2 65%, #429ab5);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-copy > p, .hero-kicker { color: #64708a; }
.hero-kicker span { color: #168a67; border-color: rgba(21, 168, 120, .22); background: rgba(21, 168, 120, .07); }
.hero-stat i { color: #7053e6; border-color: rgba(112, 83, 230, .14); background: rgba(112, 83, 230, .08); }
.trust-row span { color: #64708a; }
.quick-card, .path-card, .content-card, .news-card, .workflow-demo-card {
  border-color: rgba(67, 71, 118, .11);
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 12px 38px rgba(61, 60, 103, .06);
}
.quick-card:hover, .news-card:hover {
  border-color: rgba(112, 83, 230, .28);
  background: #fff;
  box-shadow: var(--shadow);
}
.path-card {
  background: radial-gradient(circle at 100% 0, color-mix(in srgb, var(--path-color) 10%, transparent), transparent 16rem), #fff;
}
.workflow-demo-card {
  background: radial-gradient(circle at 100% 0, color-mix(in srgb, var(--demo-accent) 11%, transparent), transparent 14rem), #fff;
}
.workflow-node { color: #4b5570; border-color: rgba(78, 84, 137, .12); background: #f8f9ff; }
.workflow-node span { color: #7053e6; }
.workflow-edge { background: rgba(112, 83, 230, .15); }
.news-card p { color: #717b94; }
.news-labels span { color: #7f88a1; background: #f2f4fb; }
.news-labels .verified { color: #13835f; background: rgba(21, 168, 120, .08); }
.news-impact { color: #56617c; border-color: rgba(112, 83, 230, .12); background: rgba(112, 83, 230, .05); }
.news-impact b { color: #7053e6; }
.news-foot { border-top-color: rgba(64, 69, 118, .1); }
.system-section {
  border-color: rgba(112, 83, 230, .15);
  background: radial-gradient(circle at 88% 10%, rgba(95, 198, 224, .12), transparent 22rem), linear-gradient(130deg, #fff, #f5f2ff);
  box-shadow: var(--shadow);
}
.pipeline > div { color: #515b76; border-color: rgba(72, 76, 125, .12); background: rgba(255, 255, 255, .82); }
.membership-preview {
  border-color: rgba(112, 83, 230, .2);
  background: linear-gradient(110deg, #f0edff, #fff 66%, #eefaff);
  box-shadow: var(--shadow);
}
.membership-preview p { color: #68728c; }
.inner-hero {
  border-color: rgba(72, 76, 125, .11);
  background: radial-gradient(circle at 85% 30%, rgba(112, 83, 230, .12), transparent 20rem), linear-gradient(145deg, #fff, #f7f8ff);
  box-shadow: 0 18px 52px rgba(63, 61, 104, .07);
}
.inner-hero-stat { border-color: rgba(112, 83, 230, .18); background: rgba(112, 83, 230, .06); }
.inner-hero-stat strong { color: #7053e6; }
.billing-toggle { border-color: var(--line); background: #eef0fa; }
.billing-toggle button.active { color: #fff; }
.price-card {
  border-color: rgba(67, 71, 118, .12);
  background: linear-gradient(160deg, #fff, #f8f9ff);
  box-shadow: 0 18px 50px rgba(61, 60, 103, .07);
}
.price-card.featured {
  border-color: rgba(112, 83, 230, .45);
  background: radial-gradient(circle at 70% 0, rgba(117, 69, 245, .13), transparent 18rem), #fff;
  box-shadow: 0 28px 80px rgba(81, 56, 170, .15);
}
.feature-list, .faq-question { color: #515b74; }
.payment-trust > div, .detail-step, .payment-option, .order-summary, .member-overview > div {
  border-color: var(--line);
  background: rgba(255, 255, 255, .82);
}
.footer > div:first-child { color: #5f6880; }
.footer button:hover { color: #4a2ead; }
.modal-backdrop { background: rgba(37, 37, 63, .34); }
.modal {
  border-color: rgba(112, 83, 230, .22);
  background: radial-gradient(circle at 90% 0, rgba(112, 83, 230, .1), transparent 22rem), #fff;
  box-shadow: 0 35px 120px rgba(45, 44, 77, .24);
}
.modal-tag { color: #6246c9; background: rgba(112, 83, 230, .08); }
.detail-step b { color: #6346cb; background: rgba(112, 83, 230, .1); }
.news-detail-source b, .search-result, .search-box, .form-field { color: var(--text); }
.inference-panel { border-color: rgba(112, 83, 230, .2); background: rgba(112, 83, 230, .05); }
.inference-panel span { color: #6b4bd4; }
.search-box, .form-field, .search-result { border-color: var(--line); background: #f8f9ff; }
.form-label { color: #66708b; }
.login-note, .sandbox-note { color: #8a6322; border-color: rgba(201, 133, 36, .18); background: rgba(255, 199, 103, .09); }
.toast { color: #343c56; border-color: rgba(112, 83, 230, .22); background: rgba(255, 255, 255, .96); }
.source-item a { color: #6447ca; }
.daily-digest {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 26px;
  margin: 0 0 28px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(112, 83, 230, .18);
  border-radius: 20px;
  background: radial-gradient(circle at 100% 0, rgba(75, 197, 224, .13), transparent 20rem), linear-gradient(135deg, #fff, #f1efff);
  box-shadow: var(--shadow);
}
.daily-digest-meta { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.daily-digest-meta time { color: var(--muted-2); font-size: 10px; }
.daily-digest h2 { margin: 9px 0; font-size: 24px; }
.daily-digest p { margin: 0; color: var(--muted); line-height: 1.75; }
.daily-digest-copy > small { display: block; margin-top: 16px; color: var(--muted-2); line-height: 1.6; }
.daily-theme-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 17px; }
.daily-theme-row span { padding: 5px 9px; border-radius: 99px; color: #6148bc; background: rgba(112, 83, 230, .08); font-size: 9px; }
.daily-highlights { display: grid; gap: 8px; }
.daily-highlights button {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 2px 10px;
  padding: 11px 12px;
  border: 1px solid rgba(70, 74, 120, .1);
  border-radius: 12px;
  color: var(--text);
  background: rgba(255, 255, 255, .78);
  text-align: left;
  cursor: pointer;
}
.daily-highlights button:hover { border-color: rgba(112, 83, 230, .28); transform: translateX(3px); }
.daily-highlights b { grid-row: 1 / 3; color: #7053e6; font-size: 11px; }
.daily-highlights span { overflow: hidden; font-size: 11px; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.daily-highlights small { color: var(--muted-2); font-size: 9px; }
.reader-page { width: min(1180px, calc(100% - 64px)); margin: 0 auto; padding: 36px 0 90px; }
.reader-shell { display: grid; gap: 18px; }
.reader-back { width: max-content; padding: 9px 13px; border: 1px solid var(--line); border-radius: 10px; color: #626c84; background: rgba(255, 255, 255, .75); cursor: pointer; }
.reader-article {
  overflow: hidden;
  border: 1px solid rgba(66, 70, 117, .11);
  border-radius: 24px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 28px 90px rgba(57, 56, 98, .1);
}
.reader-header { padding: clamp(28px, 5vw, 62px); padding-bottom: 34px; background: radial-gradient(circle at 90% 0, rgba(107, 81, 225, .13), transparent 24rem), linear-gradient(145deg, #fff, #f5f6ff); }
.reader-labels { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.reader-labels span { padding: 5px 9px; border-radius: 99px; color: #6549ca; background: rgba(112, 83, 230, .08); font-size: 9px; font-weight: 700; }
.reader-header h1 { max-width: 900px; margin: 0; font-size: clamp(30px, 4.5vw, 54px); line-height: 1.16; letter-spacing: -.04em; }
.reader-lede { max-width: 820px; margin: 18px 0; color: #5f6982; font-size: 15px; line-height: 1.9; }
.reader-byline { display: flex; flex-wrap: wrap; gap: 12px 24px; color: var(--muted-2); font-size: 10px; }
.reader-notice { display: flex; gap: 14px; margin: 28px clamp(24px, 5vw, 62px); padding: 16px; border: 1px solid rgba(112, 83, 230, .16); border-radius: 13px; color: #5d667e; background: #f7f5ff; font-size: 11px; line-height: 1.7; }
.reader-notice b { flex: 0 0 auto; color: #6548c9; }
.reader-section { display: grid; grid-template-columns: 48px 1fr; gap: 22px; padding: 32px clamp(24px, 5vw, 62px); border-top: 1px solid rgba(67, 72, 117, .08); }
.reader-section.emphasis { background: linear-gradient(90deg, rgba(112, 83, 230, .05), rgba(60, 188, 218, .04)); }
.reader-section-no { color: #a59aba; font-size: 12px; font-weight: 800; }
.reader-section h2, .reader-chapter h2 { margin: 0 0 13px; font-size: 24px; }
.reader-section p, .reader-section li, .reader-chapter p, .reader-assignment p, .reader-assignment li { color: #5c667f; font-size: 13px; line-height: 1.9; }
.reader-section ul, .reader-section ol { display: grid; gap: 8px; padding-left: 20px; }
.reader-source-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 28px clamp(24px, 5vw, 62px); padding: 24px; border: 1px solid rgba(112, 83, 230, .18); border-radius: 16px; background: linear-gradient(135deg, #f4f1ff, #f2fbfd); }
.reader-source-card span { color: #7053e6; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.reader-source-card h3 { margin: 6px 0; }
.reader-source-card p { max-width: 680px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.reader-actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 clamp(24px, 5vw, 62px) 45px; }
.reader-progress { max-width: 420px; height: 5px; margin-top: 22px; overflow: hidden; border-radius: 99px; background: #e4e6f0; }
.reader-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #7053e6, #35b9dd); }
.reader-header > small { display: block; margin-top: 8px; color: var(--muted-2); }
.reader-workflow { display: grid; gap: 20px; padding: 30px clamp(24px, 5vw, 62px); border-top: 1px solid rgba(67, 72, 117, .08); background: #fafaff; }
.reader-workflow h2 { margin: 7px 0; }
.reader-workflow p { margin: 0; color: var(--muted); }
.reader-course-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding: 34px clamp(24px, 5vw, 62px); }
.reader-course-intro > div { padding: 22px; border: 1px solid var(--line); border-radius: 15px; background: #fafbff; }
.reader-course-intro h2 { margin-top: 0; }
.reader-course-intro ul { display: grid; gap: 9px; padding-left: 18px; color: #5d677f; font-size: 11px; line-height: 1.7; }
.reader-chapters { border-top: 1px solid rgba(67, 72, 117, .08); }
.reader-chapter { display: grid; grid-template-columns: 58px 1fr; gap: 20px; padding: 38px clamp(24px, 5vw, 62px); border-bottom: 1px solid rgba(67, 72, 117, .08); }
.reader-chapter > span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; color: #674bd0; background: rgba(112, 83, 230, .09); font-size: 11px; font-weight: 800; }
.reader-chapter h3 { margin: 20px 0 4px; color: #4d5771; font-size: 12px; }
.chapter-evidence { margin-top: 18px; padding: 13px; border: 1px solid rgba(21, 168, 120, .15); border-radius: 10px; color: #167c5c; background: rgba(21, 168, 120, .06); font-size: 10px; line-height: 1.6; }
.reader-assignment, .reader-lock { margin: 34px clamp(24px, 5vw, 62px); padding: 28px; border: 1px solid rgba(112, 83, 230, .18); border-radius: 17px; background: linear-gradient(135deg, #f4f1ff, #f4fbfd); }
.reader-assignment h2, .reader-lock h2 { margin: 8px 0; }
.reader-assignment ul { display: grid; gap: 8px; padding-left: 18px; }
.reader-lock span { color: #7053e6; font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.reader-lock p { color: var(--muted); line-height: 1.75; }
.pricing-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.price-card { min-height: 520px; padding: 24px; }
.custom-price strong { font-size: 34px; letter-spacing: -.03em; }
.agent-tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.agent-tool-card {
  min-height: 112px;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 4px 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  color: var(--text);
  background: rgba(255, 255, 255, .78);
  text-align: left;
  cursor: pointer;
}
.agent-tool-card:hover, .agent-tool-card.active { border-color: rgba(112, 83, 230, .32); background: #fff; box-shadow: 0 14px 36px rgba(61, 60, 103, .08); }
.agent-tool-card > span { grid-row: 1 / 3; color: #7053e6; font-size: 10px; font-weight: 800; }
.agent-tool-card strong { font-size: 13px; }
.agent-tool-card small { color: var(--muted); font-size: 9px; line-height: 1.5; }
.agent-workbench { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 18px; }
.agent-workbench > div { min-height: 480px; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, .88); box-shadow: 0 18px 50px rgba(61, 60, 103, .06); }
.agent-workbench h2 { margin: 8px 0; }
.agent-workbench p { color: var(--muted); font-size: 11px; line-height: 1.75; }
#agent-tool-input, .consultation-textarea {
  width: 100%;
  height: auto;
  min-height: 190px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--text);
  background: #f8f9ff;
  resize: vertical;
  line-height: 1.7;
}
.agent-workbench-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 14px; }
.agent-workbench-actions > span { color: #7759dc; font-size: 10px; }
.agent-result { background: radial-gradient(circle at 100% 0, rgba(53, 185, 221, .1), transparent 20rem), #fff !important; }
.agent-output-sections { display: grid; gap: 9px; margin: 18px 0; }
.agent-output-sections section { padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fafbff; }
.agent-output-sections h3 { margin: 0 0 6px; color: #5e45bf; font-size: 11px; }
.agent-output-sections p { margin: 0; }
.consent-row { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: 9px; line-height: 1.6; }
.consent-row input { margin-top: 3px; accent-color: var(--violet); }

@media (max-width: 760px) {
  .hero-visual { background-image: url("assets/richu-light-hero.png"); background-position: 65% top; }
  .hero::before { background: linear-gradient(0deg, rgba(248, 249, 255, 1) 24%, rgba(248, 249, 255, .5) 66%, rgba(248, 249, 255, .08)); }
  .menu-backdrop { background: rgba(42, 42, 70, .32); }
  .daily-digest, .reader-course-intro, .agent-tool-grid, .agent-workbench { grid-template-columns: 1fr; }
  .reader-page { width: calc(100% - 24px); padding-top: 18px; }
  .reader-article { border-radius: 17px; }
  .reader-section, .reader-chapter { grid-template-columns: 36px 1fr; gap: 10px; }
  .reader-source-card { align-items: flex-start; flex-direction: column; }
  .reader-source-card .primary-button { width: 100%; }
}

@media (min-width: 761px) and (max-width: 1280px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
