/* 大厂风格配图 / 界面示意 */

/* ---------- Hero 产品示意 ---------- */
.hero-scene {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  min-height: 420px;
}

.hero-device {
  position: relative;
  z-index: 2;
  width: 260px;
  margin: 0 auto;
  padding: 10px;
  background: linear-gradient(160deg, #fff 0%, #eef4ff 100%);
  border-radius: 32px;
  box-shadow:
    0 24px 48px rgba(43, 124, 255, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset,
    0 0 0 1px rgba(43, 124, 255, 0.12);
  animation: heroFloat 6s ease-in-out infinite;
}

.hero-device-notch {
  width: 80px;
  height: 6px;
  margin: 4px auto 10px;
  background: #e2e8f0;
  border-radius: 99px;
}

.hero-device-screen {
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fbff 0%, #eef2ff 100%);
}

.hero-ui-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: #fff;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.hero-ui-bar span {
  font-size: 11px;
  font-weight: 600;
  color: #334155;
}

.hero-ui-pill {
  padding: 4px 10px;
  font-size: 10px;
  color: #2b7cff;
  background: rgba(43, 124, 255, 0.1);
  border-radius: 99px;
}

.hero-ui-banner {
  margin: 12px;
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2b7cff, #7c5cff);
  color: #fff;
}

.hero-ui-banner strong {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}

.hero-ui-banner em {
  font-size: 10px;
  font-style: normal;
  opacity: 0.85;
}

.hero-ui-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 12px 12px;
}

.hero-ui-card {
  padding: 10px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.hero-ui-card .av {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a78bfa, #ec6dad);
  margin-bottom: 6px;
}

.hero-ui-card b {
  display: block;
  font-size: 10px;
  color: #1e293b;
}

.hero-ui-card i {
  font-size: 9px;
  color: #94a3b8;
  font-style: normal;
}

.hero-float-card {
  position: absolute;
  z-index: 3;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 32px rgba(43, 124, 255, 0.12);
  animation: heroCardFloat 5s ease-in-out infinite;
}

.hero-float-card.fc-1 {
  top: 8%;
  left: 0;
  animation-delay: 0s;
}

.hero-float-card.fc-2 {
  bottom: 12%;
  right: 0;
  animation-delay: -2s;
}

.hero-float-card .label {
  font-size: 10px;
  color: #94a3b8;
  margin-bottom: 4px;
}

.hero-float-card .value {
  font-size: 18px;
  font-weight: 700;
  background: linear-gradient(135deg, #2b7cff, #7c5cff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-float-card .trend {
  font-size: 10px;
  color: #22c55e;
  margin-top: 2px;
}

.hero-deco-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(43, 124, 255, 0.15);
  pointer-events: none;
}

.hero-deco-ring.r1 {
  width: 360px;
  height: 360px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-deco-ring.r2 {
  width: 280px;
  height: 280px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-color: rgba(124, 92, 255, 0.12);
}

@keyframes heroCardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---------- 功能页配图 ---------- */
.illus-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(145deg, #f8fafc 0%, #eef4ff 50%, #f5f0ff 100%);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow:
    0 20px 50px rgba(43, 124, 255, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  min-height: 320px;
}

.illus-frame::before {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  top: -60px;
  right: -40px;
  background: radial-gradient(circle, rgba(43, 124, 255, 0.12), transparent 70%);
  pointer-events: none;
}

.illus-frame::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  bottom: -40px;
  left: -30px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.1), transparent 70%);
  pointer-events: none;
}

/* 手机示意 */
.illus-phone {
  position: relative;
  z-index: 1;
  width: 200px;
  margin: 36px auto 24px;
  padding: 8px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
}

.illus-phone-inner {
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

.illus-status {
  height: 22px;
  background: linear-gradient(90deg, #f1f5f9, #fff);
}

.illus-screen-body {
  padding: 12px;
}

.illus-line {
  height: 8px;
  border-radius: 4px;
  background: #e2e8f0;
  margin-bottom: 8px;
}

.illus-line.w80 { width: 80%; }
.illus-line.w60 { width: 60%; }
.illus-line.w40 { width: 40%; }
.illus-line.accent {
  background: linear-gradient(90deg, #2b7cff, #7c5cff);
  height: 10px;
}

.illus-row-cards {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.illus-mini-card {
  flex: 1;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(43, 124, 255, 0.12), rgba(124, 92, 255, 0.08));
  border: 1px solid rgba(43, 124, 255, 0.1);
}

/* 后台示意 */
.illus-dashboard {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0;
  margin: 28px;
  min-height: 264px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.illus-side {
  background: linear-gradient(180deg, #1e3a5f, #2b7cff);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.illus-side i {
  display: block;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.25);
}

.illus-side i.active {
  background: rgba(255, 255, 255, 0.9);
  height: 10px;
}

.illus-main {
  padding: 14px;
}

.illus-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.illus-kpi {
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(43, 124, 255, 0.08), rgba(124, 92, 255, 0.05));
  border: 1px solid rgba(43, 124, 255, 0.08);
}

.illus-chart {
  height: 100px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(43, 124, 255, 0.06) 0%, transparent 100%);
  border: 1px solid rgba(148, 163, 184, 0.12);
  position: relative;
  overflow: hidden;
}

.illus-chart svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70%;
}

/* 浮动装饰块 */
.illus-badge {
  position: absolute;
  z-index: 2;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 600;
  color: #2b7cff;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(43, 124, 255, 0.12);
  border: 1px solid rgba(43, 124, 255, 0.12);
}

.illus-badge.b1 { top: 20px; right: 24px; }
.illus-badge.b2 { bottom: 28px; left: 24px; color: #7c5cff; }

/* 服务卡片配图 */
.service-visual {
  height: 120px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(43, 124, 255, 0.06), rgba(236, 109, 173, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.service-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(43, 124, 255, 0.15), transparent 55%);
}

.service-visual .illus-orbit {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px dashed rgba(43, 124, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: spinSlow 20s linear infinite;
}

@keyframes spinSlow {
  to { transform: rotate(360deg); }
}

/* 陪玩头像 */
.companion-avatar {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2b7cff, #7c5cff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 20px rgba(43, 124, 255, 0.25);
}

.companion-avatar .icon-svg {
  width: 32px;
  height: 32px;
}

.companion-avatar.av-2 { background: linear-gradient(135deg, #7c5cff, #ec6dad); }
.companion-avatar.av-3 { background: linear-gradient(135deg, #06b6d4, #2b7cff); }
.companion-avatar.av-4 { background: linear-gradient(135deg, #f59e0b, #ec6dad); }

/* 评价星级 */
.review-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
}

.review-stars .icon-svg {
  width: 16px;
  height: 16px;
  color: #fbbf24;
}

/* 定价图标 */
.pricing-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(43, 124, 255, 0.12), rgba(124, 92, 255, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.pricing-icon .icon-svg {
  width: 28px;
  height: 28px;
}

/* 快速入口卡片 */
.link-card-visual {
  height: 100px;
  margin: -8px -8px 20px;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(135deg, rgba(43, 124, 255, 0.08), rgba(124, 92, 255, 0.06));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.link-card-visual .icon-svg {
  width: 40px;
  height: 40px;
  opacity: 0.85;
}

/* 功能页容器 */
.feature-visual > [data-mock] {
  width: 100%;
}

.feature-row:hover .illus-frame {
  transform: translateY(-4px);
  transition: transform 0.4s ease;
}
