/* ============================================================
   shareware.cn · index.html 首页专属样式
   球鞋极简风 · 悬浮卡片分层对称布局
   仅包含首页独有的模块样式；全局样式见 css/style.css
   ============================================================ */

/* ---------- Hero 全屏首屏 ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #f5f5f5;
}
.hero-media {
  position: absolute;
  inset: 0;
  margin: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .82) 42%, rgba(255, 255, 255, .18) 72%),
    linear-gradient(0deg, rgba(26, 26, 26, .28) 0%, transparent 40%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding-top: 96px;
  padding-bottom: 72px;
}
.hero-copy {
  max-width: 640px;
}
.hero-kicker {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 2px;
  color: #555;
  border: 1px solid #d9d9d9;
  background: rgba(255, 255, 255, .72);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.hero-title {
  margin: 0 0 22px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.16;
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: 1px;
}
.hero-title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(26px);
  animation: heroWord .7s cubic-bezier(.22, .9, .32, 1) forwards;
}
.hero-title .word:nth-child(1) { animation-delay: .10s; }
.hero-title .word:nth-child(2) { animation-delay: .24s; }
.hero-title .word:nth-child(3) { animation-delay: .38s; }
@keyframes heroWord {
  to { opacity: 1; transform: translateY(0); }
}
.hero-sub {
  font-size: 16px;
  line-height: 1.9;
  color: #444;
  margin: 0 0 28px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}
.hero-note {
  font-size: 13px;
  color: #777;
  letter-spacing: .5px;
}

/* 右侧悬浮分层卡片组（对称错落） */
.hero-stack {
  position: relative;
  flex: 0 0 300px;
  height: 380px;
  display: none;
}
@media (min-width: 1024px) {
  .hero-stack { display: block; }
}
.float-card {
  position: absolute;
  width: 210px;
  padding: 22px 20px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(6px);
  border: 1px solid #e5e5e5;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .05), 0 18px 40px rgba(0, 0, 0, .1);
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  text-align: center;
  animation: floatY 6s ease-in-out infinite;
}
.float-card--back {
  top: 14px;
  left: 12px;
  color: #666;
  animation-delay: -3s;
}
.float-card--mid {
  top: 118px;
  right: 8px;
  color: #333;
  animation-delay: -1.5s;
}
.float-card--front {
  top: 226px;
  left: 58px;
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
  padding: 24px 20px;
}
.fc-num {
  display: block;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}
.fc-label {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: #bbb;
  margin-top: 8px;
  letter-spacing: 1px;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 3;
  transform: translateX(-50%);
  color: #555;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #d9d9d9;
  background: rgba(255, 255, 255, .8);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s ease;
}
.hero-scroll:hover { transform: translateX(-50%) translateY(4px); }

/* ---------- 核心优势：错落悬浮卡片 ---------- */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.adv-card {
  position: relative;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 22px;
  padding: 34px 28px 30px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .04), 0 14px 32px rgba(0, 0, 0, .06);
  transition: transform .35s ease, box-shadow .35s ease;
}
.adv-card:nth-child(even) {
  transform: translateY(18px);
}
.adv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .08), 0 24px 52px rgba(0, 0, 0, .12);
}
.adv-card:nth-child(even):hover {
  transform: translateY(6px);
}
.adv-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #1a1a1a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.adv-icon svg {
  width: 26px;
  height: 26px;
}
.adv-card h3 {
  font-size: 18px;
  margin: 0 0 10px;
  color: #1a1a1a;
}
.adv-card p {
  font-size: 14px;
  line-height: 1.85;
  color: #666;
  margin: 0;
}
.adv-tag {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 11px;
  letter-spacing: 1px;
  color: #999;
  border: 1px solid #eee;
  padding: 3px 9px;
  border-radius: 999px;
}

/* ---------- 快速入口：对称 Bento ---------- */
.quick {
  background: #f5f5f5;
}
.quick-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 128px;
  gap: 18px;
}
.quick-tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  border-radius: 18px;
  padding: 20px 22px;
  text-decoration: none;
  border: 1px solid #eee;
  transition: transform .35s ease, box-shadow .35s ease;
}
.quick-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .09);
}
.quick-tile--black {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}
.quick-tile--black .qt-more { color: #bbb; }
.quick-tile--black .qt-num { color: #555; }
.qt-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.qt-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #f2f2f2;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
}
.quick-tile--black .qt-icon { background: #2a2a2a; color: #fff; }
.qt-icon svg { width: 20px; height: 20px; }
.qt-num {
  font-size: 12px;
  font-weight: 700;
  color: #bbb;
}
.qt-name {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}
.quick-tile--black .qt-name { color: #fff; }
.qt-more {
  font-size: 12px;
  color: #999;
}
.quick-tile--tall { grid-row: span 2; }
.quick-tile--wide { grid-column: span 2; }

/* ---------- 服务预览 ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.svc-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #eee;
  text-decoration: none;
  display: block;
  transition: transform .35s ease, box-shadow .35s ease;
}
.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .1);
}
.svc-card img {
  width: 100%;
  display: block;
  object-fit: cover;
}
.svc-body {
  padding: 20px 22px 24px;
}
.svc-body h3 {
  font-size: 17px;
  margin: 0 0 8px;
  color: #1a1a1a;
}
.svc-body p {
  font-size: 13.5px;
  line-height: 1.8;
  color: #777;
  margin: 0 0 14px;
}
.svc-link {
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.svc-link svg { width: 14px; height: 14px; transition: transform .3s ease; }
.svc-card:hover .svc-link svg { transform: translateX(4px); }

/* ---------- 行业方案：跑马灯 + 精选 ---------- */
.ind-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ind-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #eee;
  background: #fff;
  text-decoration: none;
  display: block;
  transition: transform .35s ease, box-shadow .35s ease;
}
.ind-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .1);
}
.ind-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}
.ind-card-body {
  padding: 20px 22px;
}
.ind-card-body h3 { font-size: 17px; margin: 0 0 8px; color: #1a1a1a; }
.ind-card-body p { font-size: 13.5px; color: #777; line-height: 1.8; margin: 0; }
.ind-marquee {
  overflow: hidden;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 16px 0;
  margin-bottom: 32px;
  background: #fff;
}
.ind-marquee .mq-track {
  display: flex;
  gap: 14px;
  white-space: nowrap;
  width: max-content;
  animation: mqScroll 36s linear infinite;
}
.ind-marquee:hover .mq-track { animation-play-state: paused; }
@keyframes mqScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.mq-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #444;
  background: #f5f5f5;
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  padding: 8px 18px;
  text-decoration: none;
  transition: background .3s ease, color .3s ease;
}
.mq-chip:hover { background: #1a1a1a; color: #fff; }
.mq-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1a1a1a;
}
.mq-chip:hover::before { background: #fff; }

/* ---------- 案例 + 数据 ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.case-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #eee;
  background: #fff;
  text-decoration: none;
  display: block;
  transition: transform .35s ease, box-shadow .35s ease;
}
.case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .1);
}
.case-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.case-body { padding: 20px 22px 22px; }
.case-body h3 { font-size: 16px; margin: 0 0 8px; color: #1a1a1a; }
.case-body p { font-size: 13px; color: #888; margin: 0; }
.stats-band {
  background: #1a1a1a;
  border-radius: 24px;
  padding: 42px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
  color: #fff;
}
.stat-item .num {
  font-size: 40px;
  font-weight: 800;
  display: block;
  color: #fff;
}
.stat-item .stat-label {
  font-size: 13px;
  color: #999;
  margin-top: 6px;
  display: block;
  letter-spacing: 1px;
}

/* ---------- 服务流程：横向步骤卡 ---------- */
.proc-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: proc;
}
.proc-step {
  position: relative;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 20px;
  padding: 18px 18px 22px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .04), 0 12px 26px rgba(0, 0, 0, .05);
  transition: transform .35s ease;
}
.proc-step:hover { transform: translateY(-6px); }
.proc-step img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
.proc-step h3 {
  font-size: 16px;
  margin: 16px 0 8px;
  color: #1a1a1a;
}
.proc-step h3::before {
  counter-increment: proc;
  content: "0" counter(proc);
  font-size: 12px;
  font-weight: 800;
  color: #999;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 6px;
}
.proc-step p { font-size: 13px; line-height: 1.8; color: #777; margin: 0; }
.proc-note {
  margin-top: 26px;
  text-align: center;
  font-size: 14px;
  color: #666;
}

/* ---------- 资讯列表（首页下方） ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.news-card {
  display: block;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  transition: transform .35s ease, box-shadow .35s ease;
}
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .09);
}
.news-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}
.news-card-body { padding: 18px 20px 20px; }
.news-card h4 {
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 8px;
  color: #1a1a1a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card p {
  font-size: 13px;
  color: #888;
  line-height: 1.7;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card time {
  font-size: 12px;
  color: #bbb;
}
.news-more {
  margin-top: 34px;
  text-align: center;
}

/* ---------- 底部联系 CTA 带 ---------- */
.cta-band {
  background: #1a1a1a;
  border-radius: 24px;
  padding: 48px 44px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 {
  font-size: 28px;
  margin: 0 0 12px;
  color: #fff;
}
.cta-band p { font-size: 14px; color: #bbb; margin: 0; line-height: 1.9; }
.cta-list {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
.cta-item {
  font-size: 14px;
  color: #eee;
}
.cta-item strong { display: block; font-size: 18px; color: #fff; margin-top: 4px; }
.cta-band a.cta-tel { color: #fff; text-decoration: none; }
.cta-band a.cta-tel:hover { text-decoration: underline; }
.cta-band .btn-outline {
  border-color: #fff;
  color: #fff;
}
.cta-band .btn-outline:hover { background: #fff; color: #1a1a1a; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-card:nth-child(even) { transform: none; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-bento { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .proc-track { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .ind-wrap { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero-inner { padding-top: 120px; }
  .hero-copy { max-width: 100%; }
  .adv-grid, .svc-grid, .case-grid, .proc-track, .news-grid, .ind-wrap { grid-template-columns: 1fr; }
  .quick-bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .quick-tile--tall { grid-row: span 1; }
  .quick-tile--wide { grid-column: span 1; }
  .stats-band { grid-template-columns: 1fr 1fr; padding: 32px 20px; }
  .cta-band { padding: 34px 26px; }
  .cta-band h2 { font-size: 22px; }
}
