:root{
  --max: 980px;
  --pad: 24px;

  --bg0:#0b0f14;
  --bg1:#0f1722;
  --text:#eaf0ff;
  --muted:rgba(234,240,255,.70);
  --line:rgba(234,240,255,.10);

  --card:rgba(255,255,255,.06);
  --card2:rgba(255,255,255,.085);

  --accent:#79f2c0;   /* mint */
  --accent2:#8fd3ff;  /* cool blue */
  --shadow: 0 20px 60px rgba(0,0,0,.45);
  --shadow2: 0 12px 30px rgba(0,0,0,.35);

  --r: 18px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  color:var(--text);
  background:
    radial-gradient(1200px 700px at 15% 0%, rgba(121,242,192,.18), transparent 55%),
    radial-gradient(900px 600px at 85% 10%, rgba(143,211,255,.16), transparent 55%),
    radial-gradient(900px 600px at 50% 120%, rgba(121,242,192,.10), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial;
  line-height: 1.55;
  letter-spacing: .2px;
}

a{ color:inherit; text-decoration:none; }
.container{ max-width: var(--max); margin: 0 auto; padding: var(--pad); }

header.container{
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(11,15,20,.78), rgba(11,15,20,.52));
  border-bottom: 1px solid var(--line);
}

.brand{ display:flex; flex-direction:column; gap:6px; }
.logo{
  font-weight: 800;
  font-size: 18px;
  letter-spacing: .8px;
  text-transform: none;
  display:flex;
  align-items:center;
  gap:10px;
}
.logo::before{
  content:"";
  width:10px; height:10px;
  border-radius:999px;
  background: radial-gradient(circle at 30% 30%, #fff, var(--accent));
  box-shadow: 0 0 0 6px rgba(121,242,192,.10);
}

.tag{
  font-size: 13px;
  color: var(--muted);
}

.nav{
  display:flex;
  gap: 10px;
  align-items:center;
}
.nav a{
  font-size: 13px;
  color: rgba(234,240,255,.78);
  padding: 10px 12px;
  border: 1px solid rgba(234,240,255,.10);
  background: rgba(255,255,255,.03);
  border-radius: 999px;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.nav a:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.06);
  border-color: rgba(234,240,255,.18);
}

.hero{
  padding: 34px 0 10px;
}
.hero h1{
  margin: 12px 0 10px;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.6px;
}
.hero .lead{
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 16px;
}
.kicker{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(234,240,255,.10);
  background: rgba(255,255,255,.03);
  color: rgba(234,240,255,.86);
  font-size: 12.5px;
}
.kicker b{
  color: var(--text);
  font-weight: 700;
}
.kicker .dot{
  width:6px; height:6px; border-radius:999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(121,242,192,.10);
}

.cards{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.card{
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
  border: 1px solid rgba(234,240,255,.12);
  background: linear-gradient(180deg, var(--card), rgba(255,255,255,.03));
  box-shadow: var(--shadow2);
  padding: 18px;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.card::before{
  content:"";
  position:absolute;
  inset:-2px;
  background: radial-gradient(600px 240px at 20% 0%, rgba(121,242,192,.22), transparent 55%),
              radial-gradient(600px 240px at 90% 10%, rgba(143,211,255,.18), transparent 55%);
  opacity: .0;
  transition: opacity .25s ease;
}
.card:hover{
  transform: translateY(-4px);
  border-color: rgba(234,240,255,.22);
  background: linear-gradient(180deg, var(--card2), rgba(255,255,255,.04));
}
.card:hover::before{ opacity: .8; }
.card > *{ position: relative; }

.card h2{
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -.2px;
}
.card p{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top: 14px;
  color: rgba(234,240,255,.82);
  font-size: 12.5px;
}
.badge span{
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(234,240,255,.10);
  background: rgba(255,255,255,.03);
}

.section{
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.section h2{
  margin: 0 0 12px;
  font-size: 18px;
  letter-spacing: -.2px;
}
.list{ padding-left: 18px; margin: 0; color: rgba(234,240,255,.82); }
.list li{ margin: 8px 0; }

.hint{
  color: rgba(234,240,255,.62);
  font-size: 13px;
}

.footer{
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display:flex;
  gap: 10px;
  align-items:center;
  justify-content: space-between;
  flex-wrap: wrap;
  color: rgba(234,240,255,.70);
  font-size: 13px;
}
.footer .mini{
  display:flex;
  gap:10px;
  align-items:center;
}
.footer .mini .pill{
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(234,240,255,.10);
  background: rgba(255,255,255,.03);
}

@media (max-width: 520px){
  header.container{ padding: 18px; }
  .container{ padding: 18px; }
  .nav{ gap: 8px; }
  .nav a{ padding: 9px 10px; }
}
/* =========================
   Hero Credentials (Brand)
   Paste at END of style.css
========================= */

/* 让整块 cred 更像“主视觉卡片区域” */
.cred{
  position: relative;
  margin-top: 18px;
}

.cred .cred__inner{
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 26px 22px 22px;
  border-radius: 18px;

  /* 更稳的渐变 + 玻璃 */
  background: linear-gradient(115deg,
    rgba(36, 185, 170, 0.55),
    rgba(168, 155, 78, 0.55)
  );
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow:
    0 18px 60px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
}

/* 内层再叠一层柔光，让层级更“高级” */
.cred .cred__inner::before{
  content:"";
  position:absolute;
  inset: 12px;
  border-radius: 14px;
  background: rgba(0,0,0,0.14);
  border: 1px solid rgba(255,255,255,0.10);
  pointer-events: none;
}

/* 背后的光晕（如果你已有 cred__glow，就让它更柔和） */
.cred .cred__glow{
  position:absolute;
  inset: -40px;
  background: radial-gradient(circle at 20% 20%,
      rgba(80, 255, 230, 0.18),
      transparent 45%),
    radial-gradient(circle at 80% 30%,
      rgba(255, 220, 120, 0.14),
      transparent 50%),
    radial-gradient(circle at 50% 90%,
      rgba(80, 130, 255, 0.10),
      transparent 55%);
  filter: blur(18px);
  opacity: 0.9;
  pointer-events: none;
}

/* Pills 容器：居中、有节奏 */
.cred .pills{
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 10px auto 14px;
  max-width: 760px;
  padding: 6px 10px;
}

/* 单个徽章：统一质感、避免竖排 */
.cred .pill{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 650;
  letter-spacing: 0.5px;
  white-space: nowrap;

  color: rgba(255,255,255,0.92);
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow:
    0 10px 26px rgba(0,0,0,0.26),
    inset 0 1px 0 rgba(255,255,255,0.10);
}

/* 说明文字：更像“主视觉副文案” */
.cred .cred__note{
  position: relative;
  z-index: 1;
  margin: 6px auto 0;
  max-width: 860px;
  text-align: center;
  line-height: 1.85;
  font-size: 18px;
  color: rgba(255,255,255,0.70);
  text-shadow: 0 2px 18px rgba(0,0,0,0.35);
}

/* -------- Mobile：2x2 徽章，更稳 -------- */
@media (max-width: 520px){
  .cred .cred__inner{
    padding: 20px 16px 18px;
    border-radius: 16px;
  }

  .cred .pills{
    justify-content: space-between;
    gap: 12px;
    max-width: 360px;
    padding: 4px 6px;
  }

  .cred .pill{
    flex: 0 0 calc(50% - 6px); /* 两列 */
    padding: 12px 10px;
    font-size: 14px;
  }

  .cred .cred__note{
    font-size: 16px;
    text-align: left; /* 手机更易读 */
    max-width: 360px;
    margin-top: 8px;
  }
}

/* -------- Optional：如果你页面里还残留“查看更多按钮”，强制隐藏它 -------- */
.toggle-button,
.show-more,
#show-credentials{
  display: none !important;
}
/* =========================
   Mobile polish (Pro)
   Paste at END of style.css
   ========================= */
@media (max-width: 520px) {

  /* 整体阅读更松弛 */
  body {
    line-height: 1.6;
  }

  /* 顶部容器留白更舒服（不抢内容） */
  header.container,
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Hero 文案：更“高级”的字距与行距 */
  h1, .hero h1 {
    letter-spacing: 0.2px;
    line-height: 1.08;
  }

  .hero p,
  .lead,
  .subtitle {
    line-height: 1.65;
    opacity: 0.92;
  }

  /* 大渐变卡片：减少拥挤感 + 更像“主视觉卡片” */
  .cred {
    margin-top: 16px;
  }

  .cred__inner {
    padding: 18px 16px 16px;
    border-radius: 18px;
    /* 轻微的玻璃质感：更精致 */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  /* 按钮区：2×2 排列更稳定 + 间距更像设计稿 */
  .pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 12px;           /* 行/列间距 */
    justify-content: flex-start;
    margin: 12px 0 14px;
  }

  /* 每个按钮：更轻盈、更高级，不显“厚重挤” */
  .pill {
    flex: 1 1 calc(50% - 6px); /* 两列 */
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 12px 10px;
    font-size: 14px;
    line-height: 1.2;
    letter-spacing: 0.2px;

    border-radius: 999px;
    /* 轻一点的边/底色，避免“灰块压住” */
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.08);
    box-shadow:
      0 8px 18px rgba(0,0,0,0.18),
      inset 0 1px 0 rgba(255,255,255,0.06);

    -webkit-tap-highlight-color: transparent;
  }

  /* 按钮按下反馈：更“像产品” */
  .pill:active {
    transform: translateY(1px);
  }

  /* 卡片内那段说明文字：更好读，别顶着边 */
  .cred__inner p,
  .cred__inner .desc,
  .cred__inner .note {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.7;
    opacity: 0.9;
  }

  /* 下方三张入口卡片（判断卡/读文献/小工具）：减少挤压 */
  .cards,
  .grid,
  .home-grid {
    gap: 14px;
  }

  .card,
  .panel,
  .home-card {
    border-radius: 18px;
  }

  .card h3,
  .panel h3,
  .home-card h3 {
    letter-spacing: 0.2px;
  }
}