/* ============================================================
   智欣联创新版官网 - 首页样式
   ============================================================ */

/* ---------- 轮播区 ---------- */
.hero { position: relative; height: 560px; overflow: hidden; background: #081F49; }
.hero-slide {
  position: absolute; inset: 0; display: flex; align-items: center;
  opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s;
  color: #fff;
}
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-slide .bg { position: absolute; inset: 0; }
.hero-slide .bg.bg-0 { background: linear-gradient(118deg, #082258 0%, #113E86 45%, #1E66D0 100%); }
.hero-slide .bg.bg-1 { background: linear-gradient(118deg, #6E0F29 0%, #A31235 42%, #5A184E 100%); }
.hero-slide .bg.bg-2 { background: linear-gradient(118deg, #06193F 0%, #0B2C6F 48%, #1560BD 100%); }
.hero-slide .bg.bg-3 { background: linear-gradient(118deg, #7E0E2B 0%, #C8102E 50%, #6B1440 100%); }
.hero-slide .bg::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 82% 30%, rgba(255,255,255,.13), transparent 45%);
}
.hero-slide .bg::after {
  content: ""; position: absolute; left: -140px; bottom: -220px; width: 460px; height: 460px;
  border: 1px solid rgba(255,255,255,.15); border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255,255,255,.045), 0 0 0 150px rgba(255,255,255,.03);
}
.hero-slide .grid-deco {
  position: absolute; right: 0; top: 0; bottom: 0; width: 46%;
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(100deg, transparent, #000 60%);
  -webkit-mask-image: linear-gradient(100deg, transparent, #000 60%);
}
.hero-slide .container { position: relative; z-index: 3; }
.hero-copy { max-width: 640px; }
.hero-copy .kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13.5px; letter-spacing: 4px; font-weight: 600; color: rgba(255,255,255,.85);
  padding: 7px 18px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px;
  background: rgba(255,255,255,.08); backdrop-filter: blur(4px); margin-bottom: 26px;
}
.hero-copy h2 { font-size: 48px; font-weight: 800; line-height: 1.28; letter-spacing: 2px; text-shadow: 0 4px 24px rgba(0,0,0,.18); }
.hero-copy h2 .hl { color: #FFD9DF; }
.hero-copy p { margin-top: 20px; font-size: 16.5px; color: rgba(255,255,255,.82); line-height: 1.9; max-width: 560px; }
.hero-copy .hero-btns { margin-top: 38px; display: flex; gap: 16px; }
.hero-art { position: absolute; right: 30px; top: 50%; transform: translateY(-50%); z-index: 2; width: 420px; height: 340px; }
.hero-art svg { width: 100%; height: 100%; filter: drop-shadow(0 24px 44px rgba(0,0,0,.3)); }

.hero-dots { position: absolute; left: 50%; transform: translateX(-50%); bottom: 26px; display: flex; gap: 10px; z-index: 5; }
.hero-dots span { width: 34px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.32); cursor: pointer; transition: background .3s; }
.hero-dots span.active { background: #fff; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.1); color: #fff; font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.hero-arrow:hover { background: rgba(255,255,255,.24); }
.hero-arrow.prev { left: 26px; }
.hero-arrow.next { right: 26px; }

/* ---------- 数据概览条 ---------- */
.stats-band { background: #fff; position: relative; z-index: 4; margin-top: -58px; }
.stats-card {
  background: #fff; border-radius: 14px; box-shadow: 0 18px 44px rgba(10,46,107,.13);
  border: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}
.stats-card .stat { padding: 30px 18px 26px; text-align: center; position: relative; }
.stats-card .stat + .stat::before { content: ""; position: absolute; left: 0; top: 26%; bottom: 26%; width: 1px; background: var(--line); }
.stats-card .stat .num { font-size: 38px; font-weight: 800; background: var(--grad-main); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-family: "DIN Alternate", "Arial Narrow", Arial, sans-serif; }
.stats-card .stat .label { margin-top: 4px; font-size: 14px; color: var(--ink-2); }
.stats-band .slogan {
  text-align: center; padding: 40px 20px 6px; font-size: 15px; color: var(--ink-3); letter-spacing: 2px;
}

/* ---------- 解决方案卡片（整卡可点击） ---------- */
.sol-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.sol-card { display: block; padding: 28px 24px; position: relative; }
.sol-card .ico {
  width: 54px; height: 54px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; color: #fff; transition: transform .3s;
}
.sol-card:hover .ico { transform: scale(1.08) rotate(-5deg); }
.sol-card .ico.c1 { background: linear-gradient(135deg, #C8102E, #E44D66); }
.sol-card .ico.c2 { background: linear-gradient(135deg, #0B2C6F, #1E66D0); }
.sol-card .ico.c3 { background: linear-gradient(135deg, #8E1B55, #C8102E); }
.sol-card .ico.c4 { background: linear-gradient(135deg, #1E66D0, #38B6E4); }
.sol-card .ico svg { width: 28px; height: 28px; }
.sol-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; line-height: 1.45; min-height: 48px; transition: color .2s; }
.sol-card:hover h3 { color: var(--red); }
.sol-card p { font-size: 13.5px; color: var(--ink-2); line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 71px; }
.sol-card .more { margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--blue-2); transition: color .2s, gap .2s; }
.sol-card:hover .more { color: var(--red); gap: 10px; }
.sol-card .corner { position: absolute; right: 18px; top: 22px; font-size: 11px; color: var(--ink-3); letter-spacing: 1px; font-weight: 700; }

/* ---------- 三大平台 ---------- */
.platform-band { position: relative; background: var(--grad-blue); overflow: hidden; }
.platform-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 90% 10%, rgba(255,255,255,.12), transparent 40%),
              radial-gradient(circle at 5% 95%, rgba(200,16,46,.32), transparent 42%);
}
.platform-band .sec-head .tag { color: #FFD9DF; }
.platform-band .sec-head .tag::before { background: linear-gradient(90deg, transparent, #FFD9DF); }
.platform-band .sec-head .tag::after { background: linear-gradient(90deg, #FFD9DF, transparent); }
.platform-band .sec-head h2 { color: #fff; }
.platform-band .sec-head p { color: rgba(255,255,255,.7); }
.plat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; z-index: 2; }
.plat-card {
  border-radius: 14px; padding: 34px 30px; color: #fff; position: relative; overflow: hidden;
  min-height: 330px; display: flex; flex-direction: column;
  transition: transform .28s, box-shadow .28s;
}
.plat-card:hover { transform: translateY(-8px); box-shadow: 0 26px 50px rgba(0,0,0,.32); }
.plat-card.p1 { background: linear-gradient(150deg, #C8102E 0%, #8B1030 100%); }
.plat-card.p2 { background: linear-gradient(150deg, #1E66D0 0%, #0B2C6F 100%); }
.plat-card.p3 { background: linear-gradient(150deg, #4A1445 0%, #7A1A5A 60%, #C8102E 120%); }
.plat-card::after {
  content: ""; position: absolute; right: -70px; top: -70px; width: 200px; height: 200px;
  border: 1px dashed rgba(255,255,255,.3); border-radius: 50%;
}
.plat-card .en { font-size: 12px; letter-spacing: 3px; opacity: .75; text-transform: uppercase; }
.plat-card h3 { font-size: 22px; font-weight: 800; margin: 8px 0 4px; letter-spacing: .5px; }
.plat-card .slogan { font-size: 13.5px; opacity: .85; margin-bottom: 16px; }
.plat-card .desc { font-size: 13.5px; line-height: 1.85; opacity: .9; flex: 1; }
.plat-card .go {
  margin-top: 22px; align-self: flex-start; padding: 9px 22px; border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.65); font-size: 13.5px; font-weight: 600;
  transition: background .2s, color .2s;
}
.plat-card .go:hover { background: #fff; color: var(--blue); }
.plat-card.p1 .go:hover { color: var(--red); }
.plat-card .num { position: absolute; right: 24px; bottom: 18px; font-size: 60px; font-weight: 800; opacity: .12; font-family: Arial, sans-serif; }

/* ---------- 成功案例（整卡可点击） ---------- */
.case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.case-card { display: flex; flex-direction: column; }
.case-card .head {
  height: 96px; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.case-card .head::before { content: ""; position: absolute; inset: 0; background: var(--grad-blue); }
.case-card:nth-child(2n) .head::before { background: var(--grad-main); }
.case-card .head .abbr { position: relative; z-index: 2; color: #fff; font-size: 26px; font-weight: 800; letter-spacing: 3px; opacity: .95; }
.case-card .head .deco { position: absolute; right: -30px; bottom: -40px; width: 130px; height: 130px; border-radius: 50%; background: rgba(255,255,255,.08); }
.case-card .body { padding: 20px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.case-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; line-height: 1.5; transition: color .2s; }
.case-card:hover h3 { color: var(--red); }
.case-card p { font-size: 13px; color: var(--ink-2); line-height: 1.8; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.case-card .more { margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--blue-2); transition: color .2s, gap .2s; }
.case-card:hover .more { color: var(--red); gap: 10px; }

/* ---------- 资讯选项卡 ---------- */
.news-tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.news-tabs .tab {
  padding: 10px 30px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 15px; font-weight: 600;
  color: var(--ink-2); cursor: pointer; transition: all .22s; background: #fff; user-select: none;
}
.news-tabs .tab:hover { border-color: var(--red); color: var(--red); }
.news-tabs .tab.active { background: var(--grad-red); color: #fff; border-color: transparent; box-shadow: 0 8px 18px rgba(200,16,46,.25); }
.news-list { max-width: 860px; margin: 0 auto; }
.news-item {
  display: flex; gap: 20px; padding: 20px 22px; margin-bottom: 16px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  transition: box-shadow .22s, border-color .22s, transform .22s;
}
.news-item:hover { box-shadow: var(--shadow-card-hover); border-color: rgba(200,16,46,.28); transform: translateX(4px); }
.news-item .date {
  flex-shrink: 0; width: 66px; text-align: center; border-right: 1px solid var(--line); padding-right: 18px;
}
.news-item .date .d { font-size: 26px; font-weight: 800; color: var(--red); line-height: 1.1; font-family: "DIN Alternate", Arial, sans-serif; }
.news-item .date .m { font-size: 12px; color: var(--ink-3); }
.news-item .txt h3 { font-size: 15.5px; font-weight: 600; color: var(--ink); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.news-item .txt h3:hover { color: var(--red); }
.news-item .txt p { font-size: 13px; color: var(--ink-2); margin-top: 5px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.news-more { text-align: center; margin-top: 28px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .sol-grid { grid-template-columns: repeat(2, 1fr); }
  .plat-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { height: 520px; }
  .hero-art { display: none; }
  .hero-copy h2 { font-size: 36px; }
}
@media (max-width: 640px) {
  .sol-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .stats-card { grid-template-columns: repeat(2, 1fr); }
  .stats-card .stat + .stat::before { display: none; }
  .hero { height: 480px; }
  .hero-copy h2 { font-size: 28px; }
  .hero-arrow { display: none; }
}
