:root {
  color-scheme: light;
  --ink: #121532;
  --ink-2: #1b2147;
  --paper: #f6f8ff;
  --paper-2: #eaf0ff;
  --white: #ffffff;
  --muted: #626a89;
  --line: rgba(18, 21, 50, .13);
  --line-light: rgba(255, 255, 255, .16);
  --acid: #dfff4f;
  --acid-2: #c9f12c;
  --blue: #5a67ff;
  --blue-2: #7786ff;
  --cyan: #26e6d3;
  --coral: #ff765f;
  --radius: 26px;
  --shadow: 0 28px 80px rgba(47, 59, 145, .15);
  font-family: Inter, "Noto Sans SC", ui-sans-serif, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--paper); color: var(--ink); }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
::selection { background: var(--blue); color: #fff; }
.skip-link { position: fixed; z-index: 200; left: 18px; top: -80px; padding: 12px 16px; border-radius: 12px; background: var(--acid); color: var(--ink); font-weight: 850; }
.skip-link:focus { top: 18px; }
.ambient-grid { position: fixed; z-index: -1; inset: 0; pointer-events: none; opacity: .38; background-image: linear-gradient(rgba(90,103,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(90,103,255,.055) 1px, transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(to bottom, #000, transparent 55%); }
.section-shell { width: min(1280px, calc(100% - 48px)); margin-inline: auto; }

.site-header { position: absolute; z-index: 50; inset: 0 0 auto; width: min(1440px, 100%); height: 90px; margin: auto; padding: 0 clamp(24px, 5vw, 72px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; width: max-content; }
.brand-logo { display: block; width: 44px; height: 44px; flex: 0 0 auto; filter: drop-shadow(0 8px 16px rgba(66,78,190,.16)); }
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy strong { font-size: 18px; font-weight: 900; letter-spacing: -.055em; }
.brand-copy small { margin-top: 6px; color: var(--muted); font: 750 7px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .13em; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 36px); font-size: 12px; font-weight: 760; }
.site-nav > a { position: relative; color: #3c4368; }
.site-nav > a:not(.manager-tab)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--blue); transition: right .2s; }
.site-nav > a:hover::after, .site-nav > a:focus-visible::after { right: 0; }
.manager-tab { display: inline-flex; align-items: center; gap: 9px; padding: 8px 9px 8px 15px; border: 1px solid rgba(90,103,255,.25); border-radius: 999px; background: rgba(255,255,255,.68); box-shadow: 0 8px 30px rgba(67,78,154,.08); }
.manager-tab i { display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; background: var(--blue); color: #fff; font-style: normal; font-size: 9px; transition: transform .2s; }
.manager-tab:hover i { transform: rotate(45deg); }
.header-tools { justify-self: end; display: flex; align-items: center; gap: 10px; }
.locale-switch { display: grid; grid-template-columns: 1fr 1fr; padding: 3px; border: 1px solid rgba(90,103,255,.17); border-radius: 999px; background: rgba(255,255,255,.68); box-shadow: 0 8px 28px rgba(67,78,154,.07); }
.locale-switch button { min-width: 44px; height: 30px; padding: 0 10px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; color: var(--muted); font-size: 10px; font-weight: 850; }
.locale-switch button[aria-pressed="true"] { background: var(--ink); color: var(--acid); }
.header-action { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 10px; font-weight: 850; }

.hero { position: relative; min-height: 940px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(460px, .95fr); align-items: center; gap: clamp(30px, 5vw, 78px); overflow: hidden; padding: 145px max(24px, calc((100vw - 1300px) / 2)) 78px; background: radial-gradient(circle at 42% 7%, rgba(223,255,79,.56), transparent 24%), radial-gradient(circle at 95% 20%, rgba(38,230,211,.28), transparent 31%), linear-gradient(145deg, #ffffff 0%, #f0f4ff 52%, #e7edff 100%); }
.hero::before { content: "DSH"; position: absolute; right: -3vw; bottom: -11vw; color: rgba(90,103,255,.035); font-size: min(38vw, 560px); font-weight: 950; letter-spacing: -.11em; pointer-events: none; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(1px); pointer-events: none; }
.hero-glow-one { width: 420px; height: 420px; left: -250px; top: 190px; border: 1px solid rgba(90,103,255,.16); box-shadow: 0 0 0 55px rgba(90,103,255,.025), 0 0 0 110px rgba(90,103,255,.018); }
.hero-glow-two { width: 210px; height: 210px; right: 4vw; top: 130px; border: 1px dashed rgba(18,21,50,.14); animation: spin 24s linear infinite; }
.hero-copy, .hero-stage { position: relative; z-index: 2; min-width: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--blue); font: 800 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgba(38,230,211,.13), 0 0 18px rgba(38,230,211,.8); }
.hero h1 { max-width: 760px; margin: 27px 0 25px; font-size: clamp(54px, 6.5vw, 96px); line-height: .94; letter-spacing: -.072em; }
.hero h1 em { color: var(--blue); font-style: normal; }
.hero-lead { max-width: 650px; margin: 0; color: #535c7d; font-size: clamp(15px, 1.4vw, 18px); line-height: 1.8; }
.hero-install { max-width: 720px; margin-top: 30px; padding: 13px; border: 1px solid rgba(90,103,255,.14); border-radius: 22px; background: rgba(255,255,255,.72); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.hero-install-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 2px 5px 12px; }
.hero-install-head > span { display: inline-flex; align-items: center; gap: 9px; font-size: 11px; font-weight: 850; }
.hero-install-head > span > i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px rgba(90,103,255,.09); }
.hero-install-head small { color: var(--muted); font: 9px ui-monospace, SFMono-Regular, Menlo, monospace; }
.command-box { display: grid; grid-template-columns: minmax(0, 1fr) auto; min-height: 62px; overflow: hidden; border-radius: 15px; background: var(--ink); }
.command-box code { min-width: 0; align-self: center; padding: 0 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--acid); font: 10px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; }
.command-copy { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-width: 126px; padding: 0 18px; border: 0; cursor: pointer; background: var(--acid); color: var(--ink); font-size: 10px; font-weight: 900; }
.command-copy:hover { background: var(--cyan); }
.command-copy i { font-style: normal; font-size: 13px; }
.hero-install-steps { display: grid; grid-template-columns: .75fr 1.18fr 1.35fr; gap: 8px; margin: 13px 0 0; padding: 0 4px; list-style: none; }
.hero-install-steps li { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--muted); font-size: 9px; line-height: 1.4; }
.hero-install-steps b { display: grid; place-items: center; flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; background: var(--paper-2); color: var(--blue); font: 8px ui-monospace, monospace; }
.hero-install > p { margin: 11px 5px 0; color: #838aa3; font-size: 8px; line-height: 1.6; }
.hero-install > p a { margin-left: 7px; color: var(--blue); font-weight: 850; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 26px; padding: 0 21px; border: 0; border-radius: 999px; cursor: pointer; font-size: 11px; font-weight: 850; }
.button-primary { background: var(--blue); color: #fff; box-shadow: 0 14px 34px rgba(90,103,255,.24); }
.button-primary:hover { background: var(--ink); }
.button-secondary { border: 1px solid var(--line); background: rgba(255,255,255,.62); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 18px 27px; margin-top: 27px; padding-top: 20px; border-top: 1px solid var(--line); }
.hero-trust > span { display: inline-flex; align-items: center; gap: 7px; color: #606886; font-size: 9px; font-weight: 740; }
.hero-trust i { color: var(--blue); font: 8px ui-monospace, monospace; font-style: normal; }

.hero-stage { min-height: 660px; display: grid; place-items: center; }
.signal-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(90,103,255,.18); }
.ring-one { width: 630px; height: 630px; }
.ring-two { width: 480px; height: 480px; border-style: dashed; animation: spin 30s linear infinite reverse; }
.signal-console { position: relative; z-index: 2; width: min(610px, 44vw); min-width: 480px; overflow: hidden; border: 1px solid rgba(255,255,255,.15); border-radius: 28px; background: var(--ink); color: #fff; box-shadow: 0 40px 90px rgba(36,45,107,.29); transform: rotate(1.4deg); }
.console-topbar { height: 55px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 18px; border-bottom: 1px solid var(--line-light); background: rgba(255,255,255,.04); }
.console-topbar > span { display: flex; gap: 5px; }
.console-topbar > span i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.28); }
.console-topbar > span i:first-child { background: var(--coral); }
.console-topbar > b { font: 9px ui-monospace, monospace; letter-spacing: .1em; }
.console-topbar small { justify-self: end; display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.5); font-size: 8px; }
.console-topbar small i { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.console-body { min-height: 470px; display: grid; grid-template-columns: 56px 1fr; }
.console-body aside { display: flex; flex-direction: column; align-items: center; gap: 18px; padding-top: 20px; border-right: 1px solid var(--line-light); background: rgba(255,255,255,.025); }
.console-body aside span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px 9px 9px 3px; background: var(--acid); color: var(--ink); font-weight: 950; }
.console-body aside i { width: 15px; height: 15px; border: 1px solid rgba(255,255,255,.2); border-radius: 5px; }
.console-body aside i.active { border-color: var(--cyan); background: rgba(38,230,211,.18); box-shadow: 0 0 18px rgba(38,230,211,.35); }
.console-main { position: relative; min-width: 0; padding: 25px; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 34px 34px; }
.console-heading { display: flex; align-items: center; justify-content: space-between; }
.console-heading span { display: flex; flex-direction: column; gap: 5px; }
.console-heading small { color: var(--cyan); font: 8px ui-monospace, monospace; letter-spacing: .11em; }
.console-heading b { font-size: 22px; letter-spacing: -.04em; }
.console-heading em { display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid var(--line-light); border-radius: 50%; color: var(--acid); font-style: normal; }
.console-tabs { display: flex; gap: 7px; margin: 22px 0 13px; }
.console-tabs span { padding: 7px 11px; border-radius: 999px; color: rgba(255,255,255,.42); font-size: 8px; font-weight: 800; }
.console-tabs span.active { background: var(--acid); color: var(--ink); }
.preview-list { display: grid; gap: 8px; }
.preview-plugin { position: relative; display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; min-height: 70px; padding: 11px; overflow: hidden; border: 1px solid var(--line-light); border-radius: 15px; background: rgba(255,255,255,.065); }
.preview-plugin:first-child { border-color: rgba(223,255,79,.48); background: linear-gradient(90deg, rgba(223,255,79,.17), rgba(38,230,211,.06)); }
.preview-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px 12px 12px 4px; background: var(--plugin-color); color: #fff; font-size: 12px; font-weight: 900; }
.preview-plugin > span:nth-child(2) { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.preview-plugin b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.preview-plugin small { color: rgba(255,255,255,.42); font-size: 7px; }
.preview-plugin em { color: var(--acid); font: 7px ui-monospace, monospace; font-style: normal; }
.preview-skeleton { height: 70px; border-radius: 15px; background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.1), rgba(255,255,255,.04)); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
.console-scan { display: flex; align-items: center; gap: 8px; margin-top: 18px; color: rgba(255,255,255,.15); }
.console-scan span { flex: 1; border-top: 1px dashed currentColor; }
.console-scan i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
.float-card { position: absolute; z-index: 4; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 3px 9px; padding: 12px 14px; border: 1px solid rgba(90,103,255,.15); border-radius: 15px; background: rgba(255,255,255,.92); box-shadow: 0 20px 55px rgba(45,56,135,.2); backdrop-filter: blur(14px); }
.float-card > i { grid-row: span 2; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--acid); color: var(--ink); font-style: normal; font-weight: 900; }
.float-card b { font-size: 10px; }
.float-card small { color: var(--muted); font: 7px ui-monospace, monospace; }
.float-safe { left: -20px; bottom: 62px; }
.float-count { right: -13px; top: 76px; display: flex; flex-direction: column; gap: 0; background: var(--coral); color: var(--ink); }
.float-count b { font-size: 31px; line-height: 1; }
.float-count small { color: rgba(18,21,50,.62); }
.float-node { right: -20px; bottom: 15px; }
.float-node > i { width: 11px; height: 11px; grid-row: span 2; background: var(--cyan); box-shadow: 0 0 17px var(--cyan); }

.stats-strip { position: relative; z-index: 5; width: min(1340px, calc(100% - 36px)); display: grid; grid-template-columns: repeat(3, 1fr) 1.35fr; margin: -34px auto 0; overflow: hidden; border: 1px solid rgba(18,21,50,.18); border-radius: 22px; background: var(--acid); box-shadow: 0 22px 60px rgba(54,64,139,.14); }
.stat { min-height: 132px; display: grid; grid-template-columns: 1fr auto; align-content: center; gap: 0 12px; padding: 23px 27px; border-right: 1px solid rgba(18,21,50,.15); }
.stat > small { grid-column: 1 / -1; color: rgba(18,21,50,.44); font: 8px ui-monospace, monospace; letter-spacing: .12em; }
.stat strong { font-size: 40px; line-height: 1; letter-spacing: -.06em; }
.stat > span { align-self: end; padding-bottom: 3px; color: rgba(18,21,50,.62); font-size: 9px; font-weight: 800; }
.stat-source { grid-template-columns: 42px 1fr; background: var(--ink); color: #fff; border: 0; }
.source-icon { grid-row: span 2; align-self: center !important; display: grid; place-items: center; width: 40px; height: 40px; padding: 0 !important; border-radius: 50%; background: var(--cyan); color: var(--ink) !important; font-size: 21px !important; }
.stat-source > span:last-child { align-self: center; display: flex; flex-direction: column; gap: 6px; padding: 0; }
.stat-source b { font-size: 11px; }
.stat-source small { color: rgba(255,255,255,.45); font: 8px ui-monospace, monospace; }

.manager-section { padding: 150px 0 120px; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .65fr); align-items: end; gap: 50px; margin-bottom: 48px; }
.section-index { display: inline-block; margin-bottom: 17px; color: var(--blue); font: 800 10px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .13em; }
.section-heading h2 { max-width: 820px; margin: 0; font-size: clamp(40px, 5.3vw, 72px); line-height: 1.02; letter-spacing: -.06em; }
.section-heading > p { margin: 0 0 7px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.manager-layout { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 30px; background: #fff; box-shadow: var(--shadow); }
.manager-card { min-height: 530px; display: flex; flex-direction: column; padding: clamp(30px, 4vw, 56px); }
.manager-card-primary { position: relative; overflow: hidden; background: linear-gradient(145deg, var(--blue), #7786ff 58%, #38d7da); color: #fff; }
.manager-card-primary::after { content: "D"; position: absolute; right: -22px; bottom: -120px; color: rgba(255,255,255,.1); font-size: 430px; font-weight: 950; line-height: 1; }
.manager-chip { position: relative; z-index: 1; display: flex; align-items: center; gap: 13px; }
.manager-chip > span { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px 15px 15px 5px; background: var(--acid); color: var(--ink); font-size: 25px; font-weight: 950; }
.manager-chip div { display: flex; flex-direction: column; gap: 5px; }
.manager-chip b { font-size: 13px; }
.manager-chip small { color: rgba(255,255,255,.54); font: 8px ui-monospace, monospace; letter-spacing: .1em; }
.manager-card > p { position: relative; z-index: 1; max-width: 610px; margin: 64px 0 30px; font-size: clamp(22px, 2.5vw, 36px); line-height: 1.34; letter-spacing: -.04em; }
.manager-facts { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: auto; border: 1px solid rgba(255,255,255,.25); border-radius: 18px; }
.manager-facts span { min-height: 92px; display: flex; flex-direction: column; justify-content: center; padding: 16px; border-right: 1px solid rgba(255,255,255,.2); }
.manager-facts span:last-child { border: 0; }
.manager-facts b { font-size: 24px; }
.manager-facts small { margin-top: 4px; color: rgba(255,255,255,.55); font-size: 8px; }
.manager-card > a { position: relative; z-index: 1; margin-top: 27px; font-size: 10px; font-weight: 850; }
.install-guide { min-height: 530px; padding: clamp(30px, 4vw, 56px); }
.install-guide-head { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.install-guide-head span { color: var(--blue); font: 9px ui-monospace, monospace; letter-spacing: .1em; }
.install-guide-head b { font-size: 11px; }
.install-guide ol { margin: 0; padding: 0; list-style: none; }
.install-guide li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.install-guide li > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--paper-2); color: var(--blue); font: 8px ui-monospace, monospace; }
.install-guide h3 { margin: 0; font-size: 16px; letter-spacing: -.025em; }
.install-guide p { margin: 7px 0 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.guide-back { display: inline-block; margin-top: 25px; color: var(--blue); font-size: 10px; font-weight: 850; }

.featured-section { padding: 20px 0 130px; }
.featured-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.featured-card { position: relative; grid-column: span 4; min-height: 390px; display: flex; flex-direction: column; overflow: hidden; padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 18px 55px rgba(60,72,154,.08); transition: transform .25s, box-shadow .25s; }
.featured-card:first-child { grid-column: span 5; background: var(--acid); }
.featured-card:nth-child(2) { grid-column: span 3; background: var(--cyan); }
.featured-card:last-child { grid-column: span 4; background: var(--ink); color: #fff; }
.featured-card:hover { transform: translateY(-7px); box-shadow: 0 28px 65px rgba(49,61,145,.15); }
.featured-card::after { content: ""; position: absolute; width: 230px; height: 230px; right: -95px; top: -100px; border: 1px solid currentColor; border-radius: 50%; opacity: .1; box-shadow: 0 0 0 30px currentColor, 0 0 0 60px currentColor; }
.featured-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.feature-number { color: var(--muted); font: 9px ui-monospace, monospace; }
.featured-card:first-child .feature-number, .featured-card:nth-child(2) .feature-number { color: rgba(18,21,50,.5); }
.featured-card:last-child .feature-number { color: rgba(255,255,255,.45); }
.featured-icon { position: relative; z-index: 1; display: grid; place-items: center; width: 69px; height: 69px; margin: 48px 0 23px; border-radius: 21px 21px 21px 7px; background: var(--plugin-color); color: #fff; font-size: 25px; font-weight: 950; transform: rotate(-4deg); }
.featured-icon span { transform: rotate(4deg); }
.featured-card h3 { position: relative; z-index: 1; margin: 0; font-size: clamp(22px, 2vw, 30px); line-height: 1.1; letter-spacing: -.045em; }
.featured-card p { position: relative; z-index: 1; margin: 13px 0 20px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.featured-card:first-child p, .featured-card:nth-child(2) p { color: rgba(18,21,50,.63); }
.featured-card:last-child p { color: rgba(255,255,255,.52); }
.featured-link { position: relative; z-index: 1; width: 100%; display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding: 18px 0 0; border: 0; border-top: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; font-size: 10px; font-weight: 850; }
.featured-link i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; font-style: normal; }
.featured-card:last-child .featured-link i { background: var(--acid); color: var(--ink); }
.featured-placeholder { grid-column: span 4; height: 390px; border-radius: var(--radius); background: linear-gradient(90deg,#e8edfc,#fff,#e8edfc); background-size: 200% 100%; animation: shimmer 1.5s infinite; }

.catalog-section { padding: 130px 0; background: linear-gradient(180deg, #e9efff, #f8faff); border-top: 1px solid rgba(90,103,255,.12); border-bottom: 1px solid rgba(90,103,255,.12); }
.catalog-section .section-heading { margin-bottom: 42px; }
.catalog-toolbar { display: grid; grid-template-columns: minmax(0,1fr) 240px; gap: 12px; }
.search-box, .select-box { min-height: 62px; display: flex; align-items: center; border: 1px solid rgba(90,103,255,.17); border-radius: 18px; background: rgba(255,255,255,.84); box-shadow: 0 12px 35px rgba(64,76,156,.07); transition: border-color .2s, box-shadow .2s; }
.search-box:focus-within, .select-box:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(90,103,255,.09); }
.search-box > span { margin-left: 20px; color: var(--blue); font-size: 24px; }
.search-box input { min-width: 0; flex: 1; height: 60px; padding: 0 14px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 14px; }
.search-box input::placeholder { color: #8e96b0; }
.search-box kbd { margin-right: 13px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); font: 9px ui-monospace, monospace; }
.select-box { padding: 0 17px; }
.select-box > span { color: var(--muted); font-size: 9px; }
.select-box select { flex: 1; min-width: 0; height: 60px; padding-left: 11px; border: 0; outline: 0; appearance: none; background: transparent; color: var(--ink); font-size: 11px; font-weight: 800; }
.catalog-controls { display: flex; align-items: flex-start; gap: 16px; margin-top: 18px; }
.category-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.category-pill { padding: 8px 13px; border: 1px solid rgba(90,103,255,.16); border-radius: 999px; background: rgba(255,255,255,.66); color: var(--muted); cursor: pointer; font-size: 9px; font-weight: 760; }
.category-pill:hover { border-color: var(--blue); color: var(--blue); }
.category-pill.active { border-color: var(--ink); background: var(--ink); color: var(--acid); }
.text-button { flex: 0 0 auto; padding: 8px 0; border: 0; background: transparent; color: var(--blue); cursor: pointer; font-size: 10px; font-weight: 850; }
.result-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 40px 0 17px; }
.result-row p { margin: 0; color: var(--muted); font-size: 10px; }
.result-row p b { color: var(--ink); }
.legend { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 9px; }
.legend i { width: 7px; height: 7px; border-radius: 50%; }
.legend-approved { background: var(--blue); }
.legend-blocked { margin-left: 9px; background: var(--coral); }
.plugin-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.plugin-card { position: relative; min-height: 320px; display: flex; flex-direction: column; overflow: hidden; padding: 22px; border: 1px solid rgba(90,103,255,.13); border-radius: 21px; background: rgba(255,255,255,.9); box-shadow: 0 15px 42px rgba(60,72,154,.07); transition: transform .24s, box-shadow .24s, border-color .24s; }
.plugin-card:hover { transform: translateY(-5px); border-color: rgba(90,103,255,.32); box-shadow: 0 25px 58px rgba(54,66,151,.14); }
.plugin-card::after { content: ""; position: absolute; width: 160px; height: 160px; right: -85px; top: -90px; border-radius: 50%; background: var(--plugin-color); opacity: .08; }
.plugin-card-top { position: relative; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.plugin-card-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px 15px 15px 5px; background: var(--plugin-color); color: #fff; font-size: 17px; font-weight: 950; box-shadow: inset 0 -3px 0 rgba(18,21,50,.13); }
.status-tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border: 1px solid rgba(90,103,255,.18); border-radius: 999px; color: var(--blue); font-size: 8px; font-weight: 800; }
.status-tag::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status-tag.blocked { border-color: rgba(255,118,95,.25); color: #df604b; }
.plugin-card h3 { margin: 22px 0 5px; overflow-wrap: anywhere; font-size: 18px; line-height: 1.25; letter-spacing: -.03em; }
.package-line { color: #8991aa; font: 9px ui-monospace, SFMono-Regular, Menlo, monospace; }
.plugin-description { margin: 15px 0 18px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.plugin-badges { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; }
.plugin-badge { padding: 5px 7px; border-radius: 7px; background: var(--paper-2); color: var(--muted); font-size: 8px; font-weight: 700; }
.plugin-badge.risk-low { color: #2f7d6d; }
.plugin-badge.risk-medium { color: #a56e00; }
.plugin-badge.risk-high { color: #c64c3b; }
.plugin-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--line); }
.details-button { padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; font-size: 10px; font-weight: 850; }
.plugin-card .details-button:hover { color: var(--blue); }
.repo-link { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid var(--line); border-radius: 50%; color: var(--blue); transition: transform .2s, background .2s, color .2s; }
.repo-link:hover { transform: rotate(45deg); background: var(--blue); color: #fff; }
.empty-state, .load-error { padding: 70px 24px; border: 1px dashed rgba(90,103,255,.27); border-radius: 22px; background: rgba(255,255,255,.62); text-align: center; }
.empty-state > span { color: var(--blue); font-size: 42px; }
.empty-state h3 { margin: 10px 0 0; }
.empty-state p { color: var(--muted); font-size: 12px; }
.load-error { display: flex; align-items: flex-start; gap: 16px; padding: 24px; text-align: left; border-style: solid; border-color: rgba(255,118,95,.34); }
.load-error > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--coral); font-weight: 900; }
.load-error h3 { margin: 0 0 6px; }
.load-error p { margin: 0 0 9px; color: var(--muted); font-size: 11px; }
.load-error code { color: var(--blue); }

.safety-section { padding: 130px 0; overflow: hidden; background: radial-gradient(circle at 5% 10%, rgba(90,103,255,.5), transparent 30%), radial-gradient(circle at 90% 80%, rgba(38,230,211,.18), transparent 28%), var(--ink); color: #fff; }
.section-heading-light .section-index { color: var(--acid); }
.section-heading-light > p { color: rgba(255,255,255,.55); }
.safety-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 13px; }
.safety-card { min-height: 440px; display: flex; flex-direction: column; padding: 27px; border: 1px solid var(--line-light); border-radius: 25px; background: rgba(255,255,255,.065); backdrop-filter: blur(12px); }
.safety-card > span { align-self: flex-start; padding: 6px 8px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; color: rgba(255,255,255,.6); font: 8px ui-monospace, monospace; }
.safety-visual { min-height: 190px; display: flex; align-items: center; justify-content: center; margin: 32px 0; }
.commit-visual { gap: 7px; font: 9px ui-monospace, monospace; }
.commit-visual i, .commit-visual b, .commit-visual em { padding: 9px 10px; border: 1px solid rgba(255,255,255,.25); border-radius: 9px; font-style: normal; }
.commit-visual b { background: var(--acid); color: var(--ink); border-color: var(--acid); }
.commit-visual em { background: var(--cyan); color: var(--ink); border-color: var(--cyan); }
.radar-visual { position: relative; flex-direction: column; gap: 0; }
.radar-visual i { position: absolute; width: 160px; height: 160px; border: 1px solid rgba(38,230,211,.28); border-radius: 50%; box-shadow: 0 0 0 34px rgba(38,230,211,.05); }
.radar-visual i:nth-child(2) { width: 90px; height: 90px; border-color: rgba(223,255,79,.4); box-shadow: none; }
.radar-visual b { position: relative; z-index: 1; color: var(--acid); font: 10px ui-monospace, monospace; }
.rollback-visual { flex-wrap: wrap; gap: 7px; font: 8px ui-monospace, monospace; }
.rollback-visual b { padding: 11px; border-radius: 9px; background: rgba(255,255,255,.1); }
.rollback-visual b:last-child { background: var(--cyan); color: var(--ink); }
.rollback-visual i { color: var(--acid); font-style: normal; }
.safety-card h3 { margin: auto 0 10px; font-size: 25px; letter-spacing: -.04em; }
.safety-card p { margin: 0; color: rgba(255,255,255,.54); font-size: 12px; line-height: 1.75; }

.workflow-section { padding: 125px 0; background: linear-gradient(120deg, var(--acid), #c9ff7a 48%, var(--cyan)); }
.workflow-inner > .section-index { color: rgba(18,21,50,.55); }
.workflow-inner > h2 { max-width: 860px; margin: 9px 0 70px; font-size: clamp(44px, 6vw, 82px); line-height: .98; letter-spacing: -.065em; }
.workflow-list { border-top: 1px solid rgba(18,21,50,.22); }
.workflow-step { display: grid; grid-template-columns: 105px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid rgba(18,21,50,.22); }
.workflow-step > span { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(18,21,50,.3); border-radius: 50%; font: 10px ui-monospace, monospace; }
.workflow-step div { display: grid; grid-template-columns: minmax(230px,.65fr) minmax(280px,1fr); align-items: center; gap: 45px; }
.workflow-step h3 { margin: 0; font-size: 23px; letter-spacing: -.04em; }
.workflow-step p { max-width: 560px; margin: 0; color: rgba(18,21,50,.62); font-size: 13px; line-height: 1.75; }

.relation-section { padding-top: 110px; padding-bottom: 28px; }
.relation-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.relation-card { min-height: 238px; padding: 30px; border: 1px solid rgba(90,103,255,.16); border-radius: 24px; background: linear-gradient(145deg,rgba(255,255,255,.96),rgba(242,245,255,.86)); box-shadow: 0 20px 60px rgba(55,67,145,.08); }
.relation-card > b { color: var(--blue); font: 800 9px/1 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing: .14em; }
.relation-card h3 { margin: 44px 0 12px; font-size: 22px; letter-spacing: -.045em; }
.relation-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.85; }

.faq-section { padding: 130px 0; }
.faq-section .section-heading { margin-bottom: 30px; }
.faq-list { margin-left: min(22vw,300px); border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 27px 0; cursor: pointer; list-style: none; font-size: 16px; font-weight: 800; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { font-size: 22px; font-style: normal; font-weight: 400; transition: transform .2s; }
.faq-list details[open] summary i { transform: rotate(45deg); }
.faq-list p { max-width: 730px; margin: -5px 60px 27px 0; color: var(--muted); font-size: 13px; line-height: 1.8; }

.site-footer { padding: 78px max(24px, calc((100vw - 1280px) / 2)); background: var(--ink); color: #fff; }
.footer-main { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 30px; }
.brand-footer .brand-copy small { color: rgba(255,255,255,.44); }
.footer-main p { margin: 0; color: rgba(255,255,255,.48); font-size: 12px; }
.footer-top { color: var(--acid); font-size: 10px; font-weight: 850; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 58px; padding-top: 20px; border-top: 1px solid var(--line-light); color: rgba(255,255,255,.35); font-size: 9px; }
.footer-bottom code { color: var(--cyan); }

dialog { width: min(780px,calc(100vw - 32px)); max-height: min(850px,calc(100vh - 32px)); padding: 0; overflow: hidden; border: 0; border-radius: 26px; background: var(--paper); color: var(--ink); box-shadow: 0 35px 120px rgba(18,21,50,.48); }
dialog::backdrop { background: rgba(11,14,36,.72); backdrop-filter: blur(8px); }
.dialog-shell { max-height: min(850px,calc(100vh - 32px)); display: flex; flex-direction: column; }
.dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 28px 30px 22px; border-bottom: 1px solid var(--line); background: #fff; }
.dialog-kicker { color: var(--blue); font: 9px ui-monospace, monospace; letter-spacing: .11em; }
.dialog-header h2 { margin: 7px 0 0; font-size: 30px; letter-spacing: -.045em; }
.dialog-close { display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; font-size: 22px; }
.dialog-close:hover { background: var(--ink); color: #fff; }
.dialog-body { min-height: 0; overflow-y: auto; padding: 27px 30px 32px; }
.dialog-intro { display: grid; grid-template-columns: 62px 1fr; gap: 17px; align-items: start; }
.dialog-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px 18px 18px 6px; background: var(--plugin-color); color: #fff; font-size: 21px; font-weight: 950; }
.dialog-intro p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.dialog-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.dialog-badge { padding: 6px 9px; border-radius: 999px; background: var(--paper-2); color: var(--muted); font-size: 8px; font-weight: 800; }
.dialog-section { margin-top: 30px; }
.dialog-section h3 { margin: 0 0 13px; color: var(--blue); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.dialog-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border: 1px solid var(--line); border-radius: 15px; overflow: hidden; }
.detail-item { min-width: 0; padding: 14px 15px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-item:nth-child(2n) { border-right: 0; }
.detail-item:nth-last-child(-n+2) { border-bottom: 0; }
.detail-item dt { color: var(--muted); font-size: 8px; }
.detail-item dd { margin: 5px 0 0; overflow-wrap: anywhere; font-size: 11px; font-weight: 800; line-height: 1.5; }
.permission-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.permission { padding: 14px; border-radius: 13px; background: var(--paper-2); }
.permission span { color: var(--muted); font-size: 8px; }
.permission b { display: block; margin-top: 7px; font-size: 11px; }
.dialog-note { margin-top: 24px; padding: 14px 15px; border: 1px solid #d7cf9a; border-radius: 13px; background: #fff7c9; color: #685e2b; font-size: 10px; line-height: 1.65; }
.dialog-note.danger { border-color: #efb5a5; background: #ffe2d9; color: #803b29; }
.dialog-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.copy-button { padding: 0; border: 0; background: transparent; color: var(--blue); cursor: pointer; font-size: 10px; font-weight: 850; }
.dialog-repo { display: inline-flex; align-items: center; gap: 10px; min-height: 43px; padding: 0 18px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 10px; font-weight: 850; }
.toast { position: fixed; z-index: 150; left: 50%; bottom: 26px; padding: 12px 17px; border-radius: 999px; background: var(--ink); color: #fff; box-shadow: 0 12px 40px rgba(18,21,50,.3); opacity: 0; pointer-events: none; transform: translate(-50%,18px); transition: opacity .2s, transform .2s; font-size: 10px; font-weight: 800; }
.toast.show { opacity: 1; transform: translate(-50%,0); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1120px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 135px; }
  .hero-copy { max-width: 860px; }
  .hero-stage { min-height: 640px; }
  .signal-console { width: min(700px,82vw); }
  .stats-strip { grid-template-columns: repeat(3,1fr); }
  .stat-source { grid-column: 1 / -1; min-height: 98px; }
  .featured-card:first-child, .featured-card:nth-child(2), .featured-card:last-child { grid-column: span 4; }
  .plugin-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 760px) {
  .section-shell { width: calc(100% - 36px); }
  .site-header { height: 78px; padding: 0 19px; }
  .brand-logo { width: 39px; height: 39px; }
  .brand-copy strong { font-size: 15px; }
  .brand-copy small { font-size: 6px; }
  .header-tools { gap: 6px; }
  .header-action { display: none; }
  .locale-switch button { min-width: 38px; padding: 0 8px; }
  .hero { min-height: auto; gap: 25px; padding: 115px 20px 70px; }
  .hero h1 { font-size: clamp(46px,14.5vw,68px); }
  .hero-lead { font-size: 15px; }
  .hero-install { padding: 10px; }
  .command-box { grid-template-columns: minmax(0,1fr) 52px; }
  .command-box code { padding: 0 12px; font-size: 8px; }
  .command-copy { min-width: 0; padding: 0; }
  .command-copy span { display: none; }
  .hero-install-steps { grid-template-columns: 1fr; gap: 8px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .button { min-width: 0; gap: 10px; padding: 0 14px; }
  .hero-trust { gap: 11px 18px; }
  .hero-stage { min-height: 480px; }
  .signal-ring { display: none; }
  .signal-console { width: 100%; min-width: 0; transform: none; border-radius: 22px; }
  .console-body { min-height: 390px; grid-template-columns: 43px 1fr; }
  .console-main { padding: 17px; }
  .console-topbar { grid-template-columns: 1fr auto; }
  .console-topbar > b { display: none; }
  .float-safe { left: -8px; bottom: 10px; }
  .float-count { right: -8px; top: 16px; }
  .float-node { display: none; }
  .stats-strip { width: calc(100% - 24px); grid-template-columns: 1fr 1fr; margin-top: -22px; }
  .stat { min-height: 102px; padding: 17px; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { grid-column: 1 / -1; border-top: 1px solid rgba(18,21,50,.15); border-right: 0; }
  .stat-source { grid-column: 1 / -1; }
  .manager-section { padding: 95px 0 85px; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 34px; }
  .section-heading h2 { font-size: 42px; }
  .manager-layout { grid-template-columns: 1fr; }
  .manager-card, .install-guide { min-height: auto; padding: 29px 23px; }
  .manager-card > p { margin: 48px 0 28px; font-size: 27px; }
  .manager-facts { grid-template-columns: 1fr; }
  .manager-facts span { min-height: 64px; flex-direction: row; align-items: baseline; justify-content: space-between; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .featured-section { padding-bottom: 90px; }
  .featured-grid { grid-template-columns: 1fr; }
  .featured-card:first-child, .featured-card:nth-child(2), .featured-card:last-child { grid-column: auto; min-height: 340px; }
  .catalog-section { padding: 90px 0; }
  .catalog-toolbar { grid-template-columns: 1fr; }
  .catalog-controls { flex-direction: column; }
  .category-pills { flex-wrap: nowrap; width: calc(100vw - 18px); margin-left: -9px; padding: 0 9px 8px; overflow-x: auto; scrollbar-width: none; }
  .category-pills::-webkit-scrollbar { display: none; }
  .category-pill { flex: 0 0 auto; }
  .plugin-grid { grid-template-columns: 1fr; }
  .legend { display: none; }
  .safety-section { padding: 90px 0; }
  .safety-grid { grid-template-columns: 1fr; }
  .safety-card { min-height: 370px; }
  .workflow-section { padding: 90px 0; }
  .workflow-inner > h2 { margin-bottom: 50px; font-size: 46px; }
  .workflow-step { grid-template-columns: 58px 1fr; }
  .workflow-step div { grid-template-columns: 1fr; gap: 8px; }
  .relation-section { padding-top: 85px; }
  .relation-grid { grid-template-columns: 1fr; }
  .relation-card { min-height: 0; }
  .relation-card h3 { margin-top: 28px; }
  .faq-section { padding: 90px 0; }
  .faq-list { margin-left: 0; }
  .footer-main { grid-template-columns: 1fr auto; }
  .footer-main p { grid-column: 1 / -1; grid-row: 2; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .dialog-header { padding: 22px 20px 18px; }
  .dialog-body { padding: 22px 20px 26px; }
  .dialog-grid { grid-template-columns: 1fr; }
  .detail-item { border-right: 0; }
  .detail-item:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .permission-grid { grid-template-columns: 1fr 1fr; }
}

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