/* ===== 变量 ===== */
:root{
  --bg: #f7f9fc;
  --ink: #101725;
  --ink-soft: #3c4657;
  --muted: #8b93a3;
  --blue-deep: #1f4dd4;
  --blue-bright: #4f9dff;

  /* 纯毛玻璃：极淡冷色描边，低饱和，不再用白色高光边框 */
  --glass-bg:
    linear-gradient(135deg, rgba(255,255,255,.46) 0%, rgba(255,255,255,.28) 100%);
  --glass-bg-hover:
    linear-gradient(135deg, rgba(255,255,255,.58) 0%, rgba(255,255,255,.38) 100%);
  --glass-border: rgba(22,38,70,.055);
  --glass-blur: blur(14px) saturate(1.35);
  --glass-shadow:
    0 1px 0 rgba(255,255,255,.30) inset,
    0 10px 30px -16px rgba(42,74,150,.18);
}

/* ===== 基础 ===== */
*{ box-sizing: border-box; }

html{
  background: var(--bg);
  overflow-x: hidden;
  overscroll-behavior-y: none;
  -webkit-text-size-adjust: 100%;
}

body{
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* ===== 布局 ===== */
.page{
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(22px, 3.6vw, 44px) clamp(22px, 6vw, 88px) 0;
}

/* ===== 流体光斑背景 ===== */
.aurora{
  position: fixed;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120vh;   /* fallback */
  height: 120lvh;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.blob{
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  mix-blend-mode: multiply;
  will-change: transform;
}

.b1{
  width: 56vw; height: 56vw; min-width: 420px; min-height: 420px;
  top: -14%; left: -10%;
  background: #9fc0ff; opacity: .78;
  animation: drift1 28s ease-in-out infinite;
}
.b2{
  width: 48vw; height: 48vw; min-width: 360px; min-height: 360px;
  top: 4%; right: -14%;
  background: #c4b0ff; opacity: .60;
  animation: drift2 34s ease-in-out infinite;
}
.b3{
  width: 46vw; height: 46vw; min-width: 340px; min-height: 340px;
  bottom: -20%; left: 22%;
  background: #8edfd0; opacity: .54;
  animation: drift3 31s ease-in-out infinite;
}
.b4{
  width: 36vw; height: 36vw; min-width: 260px; min-height: 260px;
  bottom: -6%; right: -8%;
  background: #ffc8b4; opacity: .38;
  animation: drift1 25s ease-in-out infinite reverse;
}

@keyframes drift1{
  0%,100%{ transform: translate3d(0,0,0) scale(1); }
  33%    { transform: translate3d(7vw,5vh,0) scale(1.1); }
  66%    { transform: translate3d(-4vw,9vh,0) scale(.94); }
}
@keyframes drift2{
  0%,100%{ transform: translate3d(0,0,0) scale(1); }
  40%    { transform: translate3d(-8vw,6vh,0) scale(1.08); }
  70%    { transform: translate3d(3vw,-5vh,0) scale(.96); }
}
@keyframes drift3{
  0%,100%{ transform: translate3d(0,0,0) scale(1); }
  35%    { transform: translate3d(6vw,-8vh,0) scale(1.12); }
  72%    { transform: translate3d(-6vw,3vh,0) scale(.95); }
}

/* ===== 零星星点 ===== */
.stars{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;   /* fallback */
  height: 100lvh;
  z-index: 0;
  pointer-events: none;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.stars i{
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: #6a9bff;
  opacity: .38;
  animation: twinkle 7s ease-in-out infinite;
}
.stars i:nth-child(2n){ background: #6fd8c8; }
.stars i:nth-child(3n){ background: #a99bff; }
.stars i:nth-child(5n){ background: #ffb59a; }

@keyframes twinkle{
  0%,100%{ opacity: .16; transform: scale(.8); }
  50%    { opacity: .62; transform: scale(1.2); }
}

/* ============================================================
   统一玻璃材质：品牌标识 / 状态胶囊 / 内容卡片
   —— 无白色高光边、无彩色染色光，纯靠背景模糊成玻璃
   ============================================================ */
.brand,
.pill,
.card{
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
  transition:
    background .35s ease,
    box-shadow .45s ease,
    transform .45s cubic-bezier(.2,.7,.3,1);
}

/* 统一的悬停提亮 */
.brand:hover,
.pill:hover,
.card:hover{
  background: var(--glass-bg-hover);
}

/* ===== 顶栏 ===== */
.topbar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: clamp(52px, 11vh, 120px);
  animation: rise .8s cubic-bezier(.2,.7,.3,1) both;
}

.brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
}
.brand .dot{
  width: 7px; height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f9dff, #9b8cff);
  box-shadow: 0 0 0 4px rgba(79,157,255,.14);
}

.pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  letter-spacing: .04em;
  color: #56617a;
}
.pill .led{
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4f9dff;
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse{
  0%,100%{ opacity: 1; box-shadow: 0 0 0 0 rgba(79,157,255,.5); }
  50%    { opacity: .6; box-shadow: 0 0 0 5px rgba(79,157,255,0); }
}

/* ===== 主视觉 ===== */
.hero{ max-width: 900px; }

.eyebrow{
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 clamp(20px, 3vh, 32px);
  font-size: 12.5px;
  letter-spacing: .18em;
  color: var(--muted);
  animation: rise .8s cubic-bezier(.2,.7,.3,1) both;
}
.eyebrow::before{
  content: "";
  width: 36px; height: 1px;
  background: linear-gradient(90deg, #4f9dff, #9b8cff);
}

h1{
  margin: 0 0 clamp(22px, 3.4vh, 34px);
  font-size: clamp(46px, 9vw, 108px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -.038em;
  animation: rise .9s cubic-bezier(.2,.7,.3,1) .08s both;
}
h1 .grad{
  background: linear-gradient(100deg, #16274a 0%, #2e5cc9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede{
  margin: 0;
  max-width: 33em;
  font-size: clamp(15.5px, 1.5vw, 18px);
  line-height: 1.95;
  color: var(--ink-soft);
  animation: rise .9s cubic-bezier(.2,.7,.3,1) .18s both;
}
.lede em{
  font-style: normal;
  font-weight: 600;
  color: #1f4dd4;
}

/* ============================================================
   内容卡片板块
   默认：单列竖排；≥900px：三列横排铺满
   ============================================================ */
.board{
  margin-top: clamp(56px, 10vh, 110px);
  margin-left: clamp(0px, 8vw, 110px);
  max-width: 640px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  animation: rise 1s cubic-bezier(.2,.7,.3,1) .3s both;
}

.card{
  overflow: hidden;
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: clamp(16px, 3vw, 36px);
  align-items: baseline;
  padding: 22px 26px;
  border-radius: 18px;
}
.card:hover{
  transform: translateX(6px);
  box-shadow:
    0 1px 0 rgba(255,255,255,.45) inset,
    0 18px 42px -16px rgba(42,74,150,.28);
}

.card .k{
  font-size: 12.5px;
  letter-spacing: .16em;
  color: #3f659e;
  transition: color .35s ease;
}
.card .v{
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  transition: color .35s ease;
}
.card:hover .k{ color: #1f4dd4; }
.card:hover .v{ color: var(--ink); }

/* ---- 横屏 / 平板横向：三列并排铺满 ---- */
@media (min-width: 900px){
  .board{
    margin-left: clamp(24px, 4vw, 64px);
    max-width: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .card{
    grid-template-columns: 1fr;
    align-items: start;
    align-content: start;
    gap: 10px;
    padding: 24px;
  }
  .card .k{ font-size: 12px; }
  .card .v{ font-size: 14.5px; line-height: 1.75; }

  .card:hover{
    transform: translateY(-3px);
    box-shadow:
      0 1px 0 rgba(255,255,255,.45) inset,
      0 22px 48px -18px rgba(42,74,150,.30);
  }
}

/* ---- 手机竖屏：单列，上下结构 ---- */
@media (max-width: 640px){
  .board{
    margin-left: 0;
    max-width: none;
    grid-template-columns: 1fr;
  }
  .card{
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px 20px;
  }
  .card:hover{ transform: none; }
}

/* ===== 页脚 ===== */
.foot{
  margin-top: auto;
  padding-top: clamp(70px, 14vh, 150px);
  padding-bottom: 36px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12.5px;
  letter-spacing: .05em;
  color: var(--muted);
}
.foot .wish{
  background: linear-gradient(90deg, #1f4dd4, #5ecfe8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===== 评论容器 ===== */
#tcomment{
  margin-top: 32px;
  padding-bottom: 24px;
  min-height: 80px;
  font-size: 14px;
  line-height: 1.7;
}

/* ===== 入场动画 ===== */
@keyframes rise{
  from{ opacity: 0; transform: translateY(22px); }
  to  { opacity: 1; transform: translateY(0); }
}

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