/* ============================================================
   文件类型预览模块 —— example.html 底部
   深色标题 + 玻璃质感卡片，hover 上浮 + 顶部渐变描边 + 光晕
   ============================================================ */
.ft-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #F7F9FE 0%, #F1F4FC 100%);
  border-top: 1px solid #EAEEF6;
  padding: 76px 0;
}
@media (min-width: 768px) { .ft-section { padding: 112px 0 120px; } }

.ft-glow { position: absolute; border-radius: 50%; pointer-events: none; }
.ft-glow-a {
  top: -160px; left: -140px; width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(67,97,238,.12) 0%, rgba(67,97,238,0) 66%);
}
.ft-glow-b {
  bottom: -180px; right: -150px; width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(6,214,160,.13) 0%, rgba(6,214,160,0) 66%);
}

.ft-inner { position: relative; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .ft-inner { padding: 0 32px; } }

.ft-head { max-width: 780px; margin: 0 auto 48px; text-align: center; }
@media (min-width: 768px) { .ft-head { margin-bottom: 74px; } }

.ft-eyebrow {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 3.2px;
  text-transform: uppercase; color: #4361EE; margin-bottom: 18px;
}
.ft-title {
  font-size: 31px; font-weight: 900; line-height: 1.18; letter-spacing: -1.1px;
  color: #0D1117; margin: 0 0 20px;
}
@media (min-width: 768px) { .ft-title { font-size: 46px; } }
.ft-sub { font-size: 16px; line-height: 1.78; color: #6B7280; margin: 0; }
@media (min-width: 768px) { .ft-sub { font-size: 18px; } }

.ft-stats { display: flex; flex-wrap: wrap; justify-content: center; margin: 30px auto 0; }
.ft-stat { padding: 0 30px; border-left: 1px solid #E2E8F3; text-align: center; }
.ft-stat:first-child { border-left: 0; }
.ft-stat b { display: block; font-size: 22px; font-weight: 900; color: #0D1117; line-height: 1.15; letter-spacing: -.5px; }
.ft-stat span { display: block; font-size: 12px; color: #9AA3B2; margin-top: 3px; letter-spacing: .3px; }
@media (max-width: 767px) {
  .ft-stat { padding: 0 16px; }
  .ft-stat b { font-size: 18px; }
  .ft-stat span { font-size: 11px; }
}

.ft-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .ft-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ft-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.ft-card {
  position: relative; display: block; overflow: hidden;
  background: #FFFFFF; border: 1px solid #E5EAF3; border-radius: 22px;
  padding: 30px; text-decoration: none;
  box-shadow: 0 2px 10px rgba(15,23,42,.035);
  transition: transform .45s cubic-bezier(.22,1,.36,1), box-shadow .45s ease, border-color .45s ease;
}
@media (min-width: 768px) { .ft-card { padding: 34px; } }
.ft-card:hover, .ft-card:focus-visible {
  transform: translateY(-9px);
  box-shadow: 0 30px 72px rgba(15,23,42,.14);
  border-color: transparent; outline: none;
}
.ft-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--ft-accent, #4361EE); opacity: 0; transition: opacity .45s ease;
}
.ft-card:hover::before, .ft-card:focus-visible::before { opacity: 1; }
.ft-card::after {
  content: ""; position: absolute; right: -48px; top: -48px; width: 156px; height: 156px;
  border-radius: 50%; background: var(--ft-soft, #E8ECFF); opacity: 0;
  transform: scale(.82); transition: opacity .45s ease, transform .45s ease; pointer-events: none;
}
.ft-card:hover::after, .ft-card:focus-visible::after { opacity: .62; transform: scale(1); }

.ft-icon {
  position: relative; z-index: 1; width: 72px; height: 72px; border-radius: 20px;
  background: var(--ft-soft, #E8ECFF);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; transition: transform .45s cubic-bezier(.22,1,.36,1);
}
.ft-card:hover .ft-icon { transform: scale(1.07) rotate(-3deg); }
.ft-icon img { display: block; width: 48px; height: 48px; }

.ft-name { position: relative; z-index: 1; font-size: 19px; font-weight: 800; color: #0D1117; margin: 0 0 7px; letter-spacing: -.2px; }
.ft-fmt { position: relative; z-index: 1; font-size: 13px; color: #9AA3B2; margin: 0; letter-spacing: .2px; }
.ft-go {
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between;
  margin-top: 22px; padding-top: 19px; border-top: 1px solid #EDF1F8;
  font-size: 13px; font-weight: 700; color: #4361EE;
}
.ft-go svg { transition: transform .4s cubic-bezier(.22,1,.36,1); }
.ft-card:hover .ft-go svg { transform: translateX(5px); }

.ft-card--more { background: linear-gradient(158deg, #FBF9FF 0%, #FFFFFF 62%); border-style: dashed; border-color: #D5DBE8; }

.ft-foot { margin-top: 48px; text-align: center; }
@media (min-width: 768px) { .ft-foot { margin-top: 64px; } }
.ft-foot p { font-size: 14px; color: #6B7280; margin: 0; }
.ft-foot a { font-weight: 700; color: #4361EE; text-decoration: none; }
.ft-foot a:hover { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  .ft-card, .ft-icon, .ft-go svg { transition: none; }
  .ft-card:hover { transform: none; }
}
