/* 主页样式 — 现代渐变风格 */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: #1f2937;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background: #fafbfc;
}
a { color: inherit; text-decoration: none; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ===== Topbar ===== */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid #eef0f4;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 17px; }
.brand-mark { font-size: 22px; }
.topbar-nav { display: flex; align-items: center; gap: 18px; font-size: 14px; color: #4b5563; }
.topbar-nav a:hover { color: #2563eb; }
.topbar-nav a.is-active { color: #2563eb; font-weight: 600; position: relative; }
.topbar-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  width: 18px; height: 2px;
  background: #2563eb;
  border-radius: 1px;
}
@media (max-width: 900px) {
  .topbar-nav a:not(.btn-primary):not(.topbar-admin) { display: none; }
  .topbar-nav { gap: 10px; }
  .topbar-inner { height: 56px; }
  .brand-name { font-size: 15px; white-space: nowrap; }
}
.topbar-admin { color: #9ca3af !important; font-size: 13px; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  color: #fff !important; font-weight: 500;
  border: none; border-radius: 8px;
  padding: 9px 18px; cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 12px rgba(37,99,235,0.18);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,99,235,0.28); }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-large { padding: 14px 28px; font-size: 16px; }
.btn-ghost {
  display: inline-flex; align-items: center;
  color: #4b5563; font-weight: 500;
  padding: 14px 22px; border-radius: 8px;
  border: 1px solid #e5e7eb; background: #fff;
  transition: all 0.15s;
}
.btn-ghost:hover { border-color: #2563eb; color: #2563eb; }

/* ===== Hero（无装饰，纯文字版） ===== */
.hero {
  position: relative;
  padding: 110px 0 96px;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #312e81 100%);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(700px 400px at 12% 0%, rgba(59,130,246,0.08), transparent 60%),
    radial-gradient(600px 400px at 90% 100%, rgba(139,92,246,0.08), transparent 60%);
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }
.hero-inner { max-width: 780px; }

.hero-title {
  font-size: 48px;
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 24px;
  letter-spacing: -0.02em;
  color: #fff;
}
@media (max-width: 700px) { .hero-title { font-size: 36px; } }

.hero-sub {
  font-size: 16.5px;
  line-height: 1.75;
  color: rgba(255,255,255,0.78);
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-actions .btn-ghost {
  color: #fff;
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.25);
}
.hero-actions .btn-ghost:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}

.hero-meta { display: flex; gap: 56px; }
.meta-item { display: flex; flex-direction: column; }
.meta-num {
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.meta-label {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-top: 6px;
}

/* ===== Hero 艺术 ===== */
.hero-art { position: relative; height: 360px; }
.art-blob {
  position: absolute; inset: 20px;
  background: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
  border-radius: 36% 64% 50% 50% / 50% 50% 64% 36%;
  filter: blur(0.5px);
  animation: blob 14s ease-in-out infinite;
  opacity: 0.85;
}
@keyframes blob {
  0%, 100% { border-radius: 36% 64% 50% 50% / 50% 50% 64% 36%; }
  50%      { border-radius: 50% 50% 36% 64% / 64% 36% 50% 50%; }
}
.art-card {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  display: flex; flex-direction: column; align-items: center;
  min-width: 100px;
}
.art-num { font-size: 26px; font-weight: 700; color: #111827; line-height: 1; }
.art-label { font-size: 12px; color: #6b7280; margin-top: 4px; }
.art-card-1 { top: 30px;  left: 20px;  }
.art-card-2 { top: 130px; right: 10px; }
.art-card-3 { bottom: 30px; left: 70px; }

/* ===== Section 通用 ===== */
.section-title { font-size: 32px; font-weight: 700; color: #0f172a; margin: 0 0 8px; letter-spacing: -0.01em; }
.section-sub { font-size: 15px; color: #6b7280; margin: 0 0 36px; }

/* ===== 4 维度卡片 ===== */
.dims { padding: 80px 0; background: #f8fafc; }
.dims.has-bg .section-title,
.dims.has-bg .section-sub,
.dims.has-bg .dim-card h3,
.dims.has-bg .dim-card p { color: #1f2937; }
.dim-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .dim-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .dim-grid { grid-template-columns: 1fr; } }
.dim-card {
  position: relative;
  padding: 28px 24px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #eef0f4;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.dim-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  border-color: #d1d5db;
}
.dim-icon { font-size: 32px; margin-bottom: 12px; }
.dim-card h3 { font-size: 18px; font-weight: 600; margin: 0 0 6px; color: #111827; }
.dim-card p { font-size: 14px; color: #6b7280; margin: 0 0 14px; line-height: 1.55; }
.dim-count {
  display: inline-block;
  font-size: 12px; color: #4b5563; font-weight: 600;
  background: #f3f4f6; padding: 3px 10px; border-radius: 999px;
}
.dim-pro  { border-top: 3px solid #2563eb; }
.dim-att  { border-top: 3px solid #10b981; }
.dim-eff  { border-top: 3px solid #f59e0b; }
.dim-emo  { border-top: 3px solid #ec4899; }

/* ===== 最近反馈 ===== */
.recent { padding: 80px 0; background: #fff; border-top: 1px solid #eef0f4; }

/* ===== 3 张图轮播 ===== */
.carousel { padding: 64px 0; background: #f8fafc; }
.carousel-viewport {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(15,23,42,0.10);
  background: #0f172a;
  aspect-ratio: 16/7;
}
.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.carousel-slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  overflow: hidden;
}
.carousel-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.62);
  transition: filter 0.4s;
}
.carousel-slide.is-active img { filter: brightness(0.78); }
.carousel-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 36px 40px;
  color: #fff;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.55) 100%);
  z-index: 2;
}
.carousel-caption h3 {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 6px;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.carousel-caption p {
  font-size: 15px;
  color: rgba(255,255,255,0.92);
  margin: 0;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.20);
  color: #fff;
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  transition: background 0.2s, transform 0.2s;
  backdrop-filter: blur(8px);
}
.carousel-arrow:hover { background: rgba(255,255,255,0.35); }
.carousel-prev { left: 16px; }
.carousel-next { right: 16px; }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}
.carousel-dot {
  width: 10px; height: 10px;
  border: none;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, width 0.2s;
}
.carousel-dot.is-active {
  background: #2563eb;
  width: 28px;
  border-radius: 5px;
}
@media (max-width: 700px) {
  .carousel { padding: 40px 0; }
  .carousel-caption { padding: 24px 20px; }
  .carousel-caption h3 { font-size: 18px; }
  .carousel-caption p { font-size: 13px; }
  .carousel-arrow { width: 36px; height: 36px; font-size: 20px; }
}
.recent-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 8px; }
.recent-list { display: grid; gap: 12px; }
.recent-loading { text-align: center; color: #9ca3af; padding: 40px 0; }
.recent-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 22px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eef0f4;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.recent-item:hover { border-color: #d1d5db; box-shadow: 0 4px 12px rgba(0,0,0,0.04); }
.recent-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #ec4899);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 600;
}
.recent-body { min-width: 0; }
.recent-name { font-size: 15px; font-weight: 600; color: #111827; margin: 0 0 2px; }
.recent-meta { font-size: 13px; color: #6b7280; }
.recent-meta span + span::before { content: '·'; margin: 0 8px; color: #d1d5db; }
.recent-score {
  text-align: right;
  min-width: 80px;
}
.recent-score-num { font-size: 22px; font-weight: 700; line-height: 1; }
.recent-score-label { font-size: 11px; color: #6b7280; margin-top: 2px; }
.score-good { color: #059669; }
.score-warn { color: #d97706; }
.score-bad  { color: #dc2626; }
.recent-empty {
  text-align: center;
  color: #9ca3af;
  padding: 60px 0;
  background: #fff;
  border: 1px dashed #e5e7eb;
  border-radius: 12px;
}
.recent-empty p { margin: 8px 0 0; }

/* ===== Footer ===== */
.footer { background: #0f172a; color: #cbd5e1; padding: 28px 0; margin-top: 0; font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-links { display: flex; align-items: center; gap: 10px; color: #94a3b8; }
.footer-links a:hover { color: #fff; }

/* ===== Hero 底部的公司介绍块 ===== */
.company-block {
  margin-top: 64px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.18);
  text-align: center;
  color: rgba(255,255,255,0.92);
}
.company-block-head { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 14px; }
.company-tag {
  display: inline-block;
  font-size: 11px; letter-spacing: 1.5px;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  padding: 3px 10px;
  text-transform: uppercase;
}
.company-block h2 {
  font-size: 22px;
  font-weight: 600;
  margin: 0;
  color: #fff;
}
.company-block-text {
  max-width: 760px;
  margin: 0 auto 24px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
}

/* 4 个能力卡片（精简） */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 760px;
  margin: 0 auto;
}
.cap-card {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 10px;
  padding: 16px 12px;
  text-align: center;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
  backdrop-filter: blur(6px);
  color: #fff;
}
.cap-card:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.4);
}
.cap-icon { font-size: 24px; margin-bottom: 6px; }
.cap-card h4 {
  font-size: 13.5px;
  margin: 0 0 4px;
  color: #fff;
  font-weight: 600;
  font-weight: 600;
}
.cap-card p {
  font-size: 11.5px;
  line-height: 1.5;
  color: rgba(255,255,255,0.78);
  margin: 0;
}

@media (max-width: 860px) {
  .capability-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cap-card { padding: 18px 14px; }
  .cap-icon { font-size: 22px; }
  .cap-card h4 { font-size: 13.5px; }
  .cap-card p { font-size: 11.5px; }
}
@media (max-width: 700px) {
  .company-block { margin-top: 48px; }
  .company-block h2 { font-size: 18px; }
  .company-block-text { font-size: 13px; }
}

/* ===== 服务案例 ===== */
.case { padding: 64px 0; background: #f8fafc; }
.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 880px;
  margin: 0 auto;
}
.case-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 28px 26px;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.case-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(15,23,42,0.08); }
.case-card-soon { background: #fafbfc; opacity: 0.85; }
.case-header { display: flex; gap: 8px; margin-bottom: 14px; }
.case-tag {
  display: inline-block;
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 999px;
  background: #d1fae5;
  color: #047857;
  font-weight: 500;
}
.case-tag-blue { background: #dbeafe; color: #1d4ed8; }
.case-tag-gray { background: #e5e7eb; color: #6b7280; }
.case-card h3 { font-size: 19px; margin: 0 0 10px; color: #0f172a; }
.case-card p { font-size: 14px; line-height: 1.7; color: #4b5563; margin: 0 0 18px; }
.case-stats {
  display: flex;
  gap: 20px;
  padding: 14px 0;
  border-top: 1px dashed #e5e7eb;
  border-bottom: 1px dashed #e5e7eb;
  margin-bottom: 16px;
}
.case-stat { display: flex; flex-direction: column; align-items: center; flex: 1; }
.case-stat-num { font-size: 20px; font-weight: 700; color: #2563eb; line-height: 1.1; font-variant-numeric: tabular-nums; }
.case-stat-label { font-size: 11.5px; color: #6b7280; margin-top: 4px; }
.case-actions { display: flex; align-items: center; gap: 12px; }
.case-actions-secondary { justify-content: center; }
.case-hint { font-size: 12.5px; color: #6b7280; }
@media (max-width: 860px) {
  .case-grid { grid-template-columns: 1fr; }
}

/* ===== 公司介绍 section（左文右数字） ===== */
.company { padding: 80px 0; background: #f8fafc; }
.company .section-title { font-size: 32px; margin: 0 0 8px; text-align: center; }
.company .section-sub { color: #6b7280; text-align: center; margin: 0 0 40px; font-size: 14.5px; }
.company-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: center; }
.company-text p { font-size: 15px; line-height: 1.85; color: #374151; margin: 0 0 14px; }
.company-text p:last-child { margin-bottom: 0; }
.company-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  border-radius: 16px; padding: 24px; color: #fff;
  box-shadow: 0 10px 30px rgba(37,99,235,0.20);
}
.company-stat { text-align: center; padding: 10px 0; }
.company-stat-num {
  display: block; font-size: 30px; font-weight: 800; line-height: 1.1;
  margin-bottom: 4px; font-variant-numeric: tabular-nums;
}
.company-stat-label { font-size: 12.5px; opacity: 0.85; letter-spacing: 0.5px; }
@media (max-width: 700px) {
  .company-grid { grid-template-columns: 1fr; gap: 24px; }
  .company-text p { font-size: 14.5px; }
  .company-stat-num { font-size: 26px; }
}

/* ===== 业务能力卡片（更丰富） ===== */
.capability { padding: 80px 0; background: #fff; }
.capability .section-title { font-size: 32px; margin: 0 0 8px; text-align: center; }
.capability .section-sub { color: #6b7280; text-align: center; margin: 0 0 40px; font-size: 14.5px; }
.capability-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cap-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px 20px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}
.cap-card:hover { transform: translateY(-3px); border-color: #93c5fd; box-shadow: 0 8px 24px rgba(37,99,235,0.10); }
.cap-icon-wrap {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, #eff6ff 0%, #f5f3ff 100%);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.cap-icon { font-size: 22px; line-height: 1; }
.cap-card h4 { font-size: 16px; margin: 0 0 8px; color: #0f172a; font-weight: 600; }
.cap-card > p { font-size: 13px; line-height: 1.6; color: #4b5563; margin: 0 0 12px; flex: 1; }
.cap-features { list-style: none; padding: 0; margin: 0; }
.cap-features li {
  font-size: 12.5px;
  color: #6b7280;
  padding: 3px 0 3px 18px;
  position: relative;
}
.cap-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2563eb;
  font-weight: 700;
}
@media (max-width: 900px) {
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .capability-grid { grid-template-columns: 1fr; }
}

/* ============================================
   竖屏优化（≤700px）
   - section padding 80 → 48
   - section-title 32 → 24
   - hero / 业务卡 / 案例 / 最近反馈 字号、间距、列数
   ============================================ */
@media (max-width: 700px) {
  .container { padding: 0 16px; }

  /* 通用 section */
  .section-title { font-size: 24px; }
  .section-sub { font-size: 14px; margin: 0 0 24px; }
  .company, .capability, .case, .recent { padding: 48px 0; }

  /* Hero */
  .hero-clean { padding: 56px 0 48px; }
  .hero-clean .hero-title { font-size: 28px; line-height: 1.3; margin: 0 0 16px; }
  .hero-clean .hero-sub { font-size: 14.5px; line-height: 1.7; margin: 0 0 24px; }
  .hero-clean .hero-sub br { display: none; }
  .hero-clean .hero-actions { flex-wrap: wrap; gap: 10px; margin: 0 0 32px; }
  .hero-clean .hero-actions .btn-large { padding: 12px 22px; font-size: 15px; }
  .hero-clean .hero-meta { gap: 20px; flex-wrap: wrap; }
  .hero-clean .meta-num { font-size: 24px; }
  .hero-clean .meta-label { font-size: 12px; }

  /* 公司介绍 */
  .company-stats { padding: 18px; gap: 8px; }
  .company-stat-num { font-size: 22px; }
  .company-stat-label { font-size: 11.5px; }

  /* 业务卡：700px 改 1 列（不要 2 列，350px 宽 2 列每列 165px 太挤） */
  .capability-grid { grid-template-columns: 1fr; gap: 12px; }
  .cap-card { padding: 18px 16px; }
  .cap-card h4 { font-size: 15px; }
  .cap-card > p { font-size: 13px; margin: 0 0 10px; }
  .cap-features li { font-size: 12px; }

  /* 案例 */
  .case { padding: 48px 0; }
  .case-card { padding: 18px 16px; }
  .case-card h3 { font-size: 17px; }
  .case-card > p { font-size: 13.5px; }
  .case-stat-num { font-size: 20px; }
  .case-stat-label { font-size: 11px; }
  .case-actions { flex-wrap: wrap; gap: 8px; }

  /* 最近反馈 */
  .recent-head { flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
  .recent-head .section-title { font-size: 20px; }
  .recent-item { padding: 12px; gap: 10px; }
  .recent-avatar { width: 36px; height: 36px; font-size: 14px; }
  .recent-name { font-size: 14px; }
  .recent-meta { font-size: 12px; }
  .recent-score-num { font-size: 20px; }

  /* Footer */
  .footer { padding: 20px 0; font-size: 12.5px; }
  .footer-inner { gap: 8px; }
}

/* 极窄屏（≤380px，SE/小屏 Android） */
@media (max-width: 380px) {
  .hero-clean .hero-title { font-size: 25px; }
  .hero-clean .hero-meta { gap: 14px; }
  .hero-clean .meta-num { font-size: 22px; }
  .company-stat-num { font-size: 20px; }
}
