/* ====== ShCabinet — 蓝色 Shell 管理工具官网 ====== */
:root {
  --bg:        #080b12;
  --bg-2:      #0d1320;
  --bg-3:      #121a2b;
  --surface:   #101827;
  --surface-2: #16203400;
  --surface-2: #162034;
  --border:    #223052;
  --text:      #eef4ff;
  --text-dim:  #aeb9d4;
  --text-mute: #6f7e9e;
  --blue:      #3b82f6;
  --blue-2:    #2563eb;
  --blue-3:    #60a5fa;
  --blue-soft: rgba(59,130,246,.14);
  --radius:    16px;
  --shadow:    0 22px 60px rgba(0,0,0,.55);
  --maxw:      1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI",
               "Hiragino Sans GB", "Microsoft YaHei", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* ====== 导航 ====== */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(14px);
  background: rgba(8,11,18,.72);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; gap: 20px;
  padding: 14px 24px;
  flex-wrap: nowrap;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav__inner::-webkit-scrollbar { display: none; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; flex-shrink: 0; }
.brand img, .brand svg { border-radius: 10px; }
.brand__img, .footer__brand img { border-radius: 10px; box-shadow: 0 2px 10px rgba(59,130,246,.22), 0 0 0 1px rgba(255,255,255,.04) inset; }
.nav__links { display: flex; gap: 22px; margin-left: auto; font-size: 15px; color: var(--text-dim); flex-shrink: 0; }
.nav__links a { transition: color .2s; white-space: nowrap; }
.nav__links a:hover { color: var(--blue-3); }
.nav__cta { padding: 8px 14px; font-size: 13px; white-space: nowrap; flex-shrink: 0; }
.lang {
  background: var(--surface-2); color: var(--text-dim);
  border: 1px solid var(--border); border-radius: 999px;
  padding: 6px 14px; font-size: 13px; font-weight: 600; cursor: pointer;
  margin-left: 4px; transition: color .2s, border-color .2s;
  white-space: nowrap; flex-shrink: 0;
}
.lang:hover { color: var(--blue-3); border-color: var(--blue); }
select.lang {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding: 6px 26px 6px 14px;
  outline: none;
}
select.lang:focus { border-color: var(--blue); }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

/* ====== 按钮 ====== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 12px; font-weight: 600; font-size: 15px;
  transition: transform .15s ease, box-shadow .25s ease, background .25s, color .2s; cursor: pointer;
  border: 1px solid transparent;
}
.btn--primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #fff; box-shadow: 0 8px 26px rgba(59,130,246,.35);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(59,130,246,.5); }
.btn--ghost {
  background: var(--surface-2); color: var(--text); border-color: var(--border);
}
.btn--ghost:hover { border-color: var(--blue); color: var(--blue-3); }
.btn--lg { padding: 14px 32px; font-size: 16px; }

/* ====== Hero ====== */
.hero {
  position: relative; overflow: hidden;
  padding: 110px 24px 90px;
  text-align: center;
  background:
    radial-gradient(900px 520px at 50% -10%, rgba(59,130,246,.14), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
}
.hero__term {
  position: absolute; top: 7%; left: 50%; transform: translateX(-50%);
  width: 480px; max-width: 92%; opacity: .2; pointer-events: none;
  background: #0a0f1a; border: 1px solid var(--blue); border-radius: 12px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color: var(--blue-3); box-shadow: 0 0 70px rgba(59,130,246,.28);
  overflow: hidden;
}
.term__bar { display: flex; gap: 7px; padding: 10px 12px; background: rgba(255,255,255,.04); border-bottom: 1px solid var(--border); }
.term__bar span { width: 11px; height: 11px; border-radius: 50%; background: #2a3a5e; }
.term__body { padding: 16px 18px; font-size: 14px; line-height: 1.8; min-height: 150px; text-align: left; }
.term__body .ln { white-space: pre-wrap; }
.term__body .prompt { color: var(--blue-3); }
.term__body .ok { color: #34d399; }
.term__body .dim { color: var(--text-mute); }
.term__cursor {
  display: inline-block; width: 8px; height: 16px; vertical-align: -2px;
  background: var(--blue-3); animation: term-blink 1s steps(1) infinite;
}
@keyframes term-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.hero__content { position: relative; max-width: 760px; margin: 0 auto; }
.pill {
  display: inline-block; padding: 7px 16px; border-radius: 999px;
  background: var(--blue-soft); color: var(--blue-3); font-size: 13px; font-weight: 600;
  border: 1px solid rgba(59,130,246,.28); margin-bottom: 26px;
}
.hero__title {
  font-size: clamp(34px, 6vw, 60px); line-height: 1.12; font-weight: 800;
  letter-spacing: -.5px;
  background: linear-gradient(180deg, #fff, #d8e2f5);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__title .grad {
  background: linear-gradient(135deg, var(--blue-3), var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub { margin: 22px auto 0; max-width: 620px; font-size: 17px; color: var(--text-dim); }
.hero__actions { display: flex; gap: 14px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.hero__meta { margin-top: 26px; color: var(--text-mute); font-size: 14px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.hero__meta .dot { opacity: .5; }

/* ====== 信任条 ====== */
.strip {
  max-width: var(--maxw); margin: -40px auto 0; position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; padding: 0 24px;
}
.strip__item {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 22px; text-align: center;
}
.strip__item b { display: block; font-size: 16px; color: var(--blue-3); }
.strip__item span { font-size: 13px; color: var(--text-mute); }

/* ====== 通用 section ====== */
.section { max-width: var(--maxw); margin: 0 auto; padding: 90px 24px; }
.section--alt { max-width: none; background: linear-gradient(180deg, transparent, rgba(22,32,52,.4), transparent); }
.section--alt > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section__head { text-align: center; margin-bottom: 54px; }
.section__head h2 { font-size: clamp(26px,4vw,38px); font-weight: 800; letter-spacing: -.3px; }
.section__head p { margin-top: 14px; color: var(--text-dim); font-size: 16px; max-width: 620px; margin-inline: auto; }
.beta-note {
  display: inline-block; margin-top: 16px; padding: 5px 16px; border-radius: 999px;
  background: rgba(59,130,246,.14); color: var(--blue-3); font-size: 14px; font-weight: 600;
}

/* ====== 特性网格 ====== */
.grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 22px; transition: transform .2s, border-color .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(59,130,246,.45); box-shadow: var(--shadow); }
.card__icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--blue-soft); margin-bottom: 16px;
}
.card__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--blue-3); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--text-dim); }

/* ====== 界面展示 ====== */
.showcase { display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; align-items: center; }
.showcase__shot {
  position: relative;
  max-width: 560px;
  margin-inline: auto;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.showcase__shot img {
  display: block; width: 100%; height: auto;
}
.showcase__shot::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 20px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
  pointer-events: none;
}
.showcase__points { list-style: none; display: grid; gap: 18px; }
.showcase__points li { padding-left: 30px; position: relative; color: var(--text-dim); font-size: 15px; }
.showcase__points li::before { content: "✦"; position: absolute; left: 0; top: 0; color: var(--blue-3); }
.showcase__points b { color: var(--text); }

/* ====== 步骤 ====== */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px; }
.step__num {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #fff;
  font-weight: 800; font-size: 20px; margin-bottom: 16px;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-dim); }

/* ====== 下载 ====== */
.downloads { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; max-width: 760px; margin: 0 auto; }
.dl { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 28px; text-align: center; }
.dl__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--blue-soft); display: grid; place-items: center; margin: 0 auto 16px; }
.dl__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--blue-3); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dl h3 { font-size: 19px; margin-bottom: 10px; }
.dl p { font-size: 14px; color: var(--text-dim); margin-bottom: 20px; }
.dl code, .downloads__note code { background: var(--bg-3); padding: 2px 7px; border-radius: 5px; font-size: 13px; color: var(--blue-3); }
.dl .btn { width: 100%; }
.dl__req { display: block; margin-top: 14px; font-size: 12px; color: var(--text-mute); }
.downloads__note {
  max-width: 760px; margin: 30px auto 0; padding: 16px 20px; font-size: 14px; color: var(--text-dim);
  background: rgba(59,130,246,.08); border: 1px solid rgba(59,130,246,.3); border-radius: 12px;
}
.downloads__note strong { color: var(--blue-3); }

/* ====== 定价 ====== */
.plans { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; max-width: 820px; margin: 0 auto; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 36px 30px; }
.plan--pro { border-color: rgba(59,130,246,.55); box-shadow: 0 0 0 1px rgba(59,130,246,.22), var(--shadow); }
.plan__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  padding: 5px 16px; border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #fff;
  font-size: 13px; font-weight: 700; letter-spacing: .5px;
}
.plan__head { text-align: center; padding-bottom: 22px; border-bottom: 1px solid var(--border); margin-bottom: 22px; }
.plan__head h3 { font-size: 22px; }
.plan__tag { color: var(--text-mute); font-size: 13px; margin-top: 6px; }
.plan__price { margin-top: 18px; font-size: 46px; font-weight: 800; letter-spacing: -1px; line-height: 1; }
.plan__cur { font-size: 22px; vertical-align: 16px; color: var(--text-dim); margin-right: 1px; }
.plan__once { color: var(--blue-3); font-size: 13px; margin-top: 8px; }
.plan__feats { list-style: none; display: grid; gap: 13px; }
.plan__feats li { position: relative; padding-left: 28px; font-size: 14px; color: var(--text-dim); }
.plan__feats li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--blue-3); font-weight: 800; }
.plan__feats li.pro { color: var(--text); }
.plan__feats li.pro::before {
  content: ""; width: 18px; height: 18px; top: 1px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FFC300'><path d='M3 8l4.5 4 4.5-6 4.5 6L21 8l-1.5 11h-15z'/></svg>") no-repeat center / contain;
}
.plan__cta { width: 100%; margin-top: 26px; }
.plans__note { max-width: 720px; margin: 30px auto 0; text-align: center; font-size: 14px; color: var(--text-mute); }
.plans__note strong { color: var(--blue-3); }

/* ====== 联系方式 ====== */
#contact { scroll-margin-top: 72px; padding: 56px 24px 60px; }
#contact .section__head { margin-bottom: 22px; }
.contact__mail { text-align: center; font-size: clamp(20px, 3.5vw, 30px); }
.contact__mail a { color: var(--blue-3); text-decoration: none; font-weight: 800; letter-spacing: -.3px; }
.contact__mail a:hover { text-decoration: underline; }

/* ====== 页脚 ====== */
.footer { border-top: 1px solid var(--border); background: var(--bg-2); margin-top: 40px; }
.footer__inner { max-width: var(--maxw); margin: 0 auto; padding: 40px 24px; display: grid; gap: 18px; justify-items: center; text-align: center; }
.footer__brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; }
.footer__links { display: flex; gap: 22px; font-size: 14px; color: var(--text-dim); }
.footer__links a:hover { color: var(--blue-3); }
.footer__copy { font-size: 13px; color: var(--text-mute); }

/* ====== 滚动揭示 ====== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ====== 响应式 ====== */
@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2,1fr); }
  .showcase { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .strip { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 720px) {
  .nav__links { display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; background: var(--bg-2); padding: 16px 24px; border-bottom: 1px solid var(--border); gap: 16px; }
  .nav__links.open { display: flex; }
  .nav__cta { display: none; }
  .lang { margin-left: auto; }
  .nav__toggle { display: flex; }
  .downloads { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .hero__term { width: 320px; }
}
@media (max-width: 520px) {
  .grid { grid-template-columns: 1fr; }
  .strip { grid-template-columns: 1fr; }
}
