/* 纸助理落地页 Hero、场景与产品样机样式（加载顺序 3/4） */

/* ==========================================================================
   大气首屏重构：生成场景背景 + HTML 产品样机
   ========================================================================== */

.btn-primary-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid rgba(37, 99, 235, 0.25);
  box-shadow: none;
}
.btn-primary-outline:hover {
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  transform: translateY(-1px);
}

.banner-section .scene-banner {
  max-width: 1200px;
}

.banner-section {
  max-width: none;
  padding-top: 20px !important;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.84), rgba(248, 250, 252, 0));
}

.why-section-intro {
  max-width: 1200px;
  margin: 0 auto 28px;
  text-align: center;
}

.why-section-intro .section-badge {
  margin-bottom: 0;
  font-size: 12px;
  letter-spacing: 2.4px;
}

.banner-section .scene-banner {
  display: block;
  margin: 0 auto;
  height: 260px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(239, 246, 255, 0.94) 48%, rgba(219, 234, 254, 0.84) 100%);
  border: 1px solid rgba(191, 219, 254, 0.72);
  box-shadow: 0 18px 50px rgba(37, 99, 235, 0.12), 0 10px 26px rgba(15, 23, 42, 0.06);
}

.banner-section .scene-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0) 38%,
      rgba(239, 246, 255, 0.74) 53%,
      rgba(219, 234, 254, 0.38) 69%,
      rgba(219, 234, 254, 0.06) 100%);
  pointer-events: none;
}

.banner-section .scene-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), transparent 42%, rgba(37, 99, 235, 0.04) 100%),
    radial-gradient(circle at 22% 12%, rgba(37, 99, 235, 0.14), transparent 28%);
  pointer-events: none;
}

.banner-section .scene-content {
  position: relative;
  z-index: 5;
  width: min(56%, 720px);
  height: 100%;
}

.banner-section .scene-image-container {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: 58%;
  height: 100%;
}

.banner-section .scene-image {
  object-position: center center;
  filter: saturate(1.02) contrast(0.96) brightness(1.05);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.06) 8%, rgba(0, 0, 0, 0.68) 32%, black 58%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.06) 8%, rgba(0, 0, 0, 0.68) 32%, black 58%);
}

.banner-section .scene-image-overlay {
  background:
    linear-gradient(90deg,
      rgba(248, 250, 252, 0.8) 0%,
      rgba(239, 246, 255, 0.55) 26%,
      rgba(239, 246, 255, 0.22) 55%,
      rgba(239, 246, 255, 0.02) 100%);
}

.banner-section .scene-title {
  color: #0f172a;
}

.banner-section .scene-subtitle {
  color: #475569;
}

.banner-section .scene-points span {
  color: #334155;
}

.banner-section .point-icon {
  color: #2563eb;
  filter: drop-shadow(0 4px 10px rgba(37, 99, 235, 0.18));
}

@media (max-width: 900px) {
  .why-section-intro {
    margin-bottom: 20px;
  }

  .banner-section .scene-banner {
    display: grid;
    height: auto;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .banner-section .scene-banner::before {
    background:
      linear-gradient(180deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0) 42%,
        rgba(239, 246, 255, 0.9) 56%,
        rgba(219, 234, 254, 0.42) 75%,
        rgba(219, 234, 254, 0) 100%);
  }

  .banner-section .scene-content {
    width: 100%;
    height: auto;
  }

  .banner-section .scene-image-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 240px;
    overflow: hidden;
  }

  .banner-section .scene-image {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.12) 8%, rgba(0, 0, 0, 0.82) 34%, black 64%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.12) 8%, rgba(0, 0, 0, 0.82) 34%, black 64%);
  }

  .banner-section .scene-image-overlay {
    background:
      linear-gradient(180deg,
        rgba(248, 250, 252, 0.9) 0%,
        rgba(239, 246, 255, 0.62) 26%,
        rgba(239, 246, 255, 0.18) 70%,
        rgba(239, 246, 255, 0) 100%);
  }
}

/* ==========================================================================
   Hero 真实后台样机：窄边框设备 + 虚拟化经营数据
   ========================================================================== */

.desktop-mockup {
  position: relative;
  width: 92%;
  min-width: 560px;
  padding: 6px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(226, 232, 240, 0.98), rgba(148, 163, 184, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    inset 0 0 0 1px rgba(15, 23, 42, 0.08),
    0 28px 64px rgba(15, 23, 42, 0.22);
}

.desktop-mockup::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 18%;
  height: 38px;
  bottom: -38px;
  background: linear-gradient(180deg, #cbd5e1 0%, #718096 100%);
  clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%);
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.12);
}

.desktop-mockup::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 36%;
  height: 12px;
  bottom: -49px;
  background: linear-gradient(90deg, #94a3b8, #cbd5e1 50%, #94a3b8);
  border-radius: 999px;
  box-shadow:
    0 10px 24px rgba(15, 23, 42, 0.16),
    0 3px 6px rgba(15, 23, 42, 0.08);
}

.desktop-screen {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  min-height: 430px;
  overflow: hidden;
  border-radius: 10px;
  background: #f4f7fb;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.07);
}

.mock-sidebar {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 13px 10px;
  background: linear-gradient(180deg, #102c47, #0b2136);
  border-right: 0;
  color: #dbeafe;
}

.mock-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 3px 2px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 6px;
}

.mock-logo-dot {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  margin: 0;
  background: linear-gradient(135deg, #60a5fa, #2563eb);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.32);
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.mock-brand b {
  display: block;
  color: #ffffff;
  font-size: 9px;
  line-height: 1.2;
  white-space: nowrap;
}

.mock-brand span {
  display: block;
  color: rgba(219, 234, 254, 0.72);
  font-size: 7px;
  margin-top: 2px;
  white-space: nowrap;
  width: auto;
  height: auto;
  margin-bottom: 0;
  border-radius: 0;
  background: transparent;
}

.mock-sidebar > span {
  display: none;
}

.mock-nav-item {
  height: 24px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 8px;
  color: rgba(219, 234, 254, 0.82);
  font-size: 8px;
  font-weight: 650;
}

.mock-nav-item svg {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  color: rgba(219, 234, 254, 0.82);
  stroke-width: 2;
}

.mock-nav-item.active {
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.48), rgba(37, 99, 235, 0.13));
  color: #ffffff;
}

.mock-nav-item.active svg {
  color: #ffffff;
}

.mock-dashboard {
  padding: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #f4f7fb;
}

.mock-app-topbar {
  height: 42px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid #e5ebf3;
}

.mock-app-topbar > div {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.mock-app-topbar button {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 1px solid #dde5f0;
  background: #ffffff;
  box-shadow: 0 5px 12px rgba(21, 40, 71, 0.04);
  position: relative;
}

.mock-app-topbar button::before,
.mock-app-topbar button::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  height: 2px;
  border-radius: 999px;
  background: #8ea0b8;
}

.mock-app-topbar button::before {
  top: 8px;
}

.mock-app-topbar button::after {
  bottom: 8px;
}

.mock-app-topbar b {
  color: #172033;
  font-size: 12px;
}

.mock-top-actions {
  gap: 6px;
}

.mock-top-actions span {
  height: 22px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #dde5f0;
  color: #41516a;
  font-size: 7.5px;
  font-weight: 750;
}

.mock-top-actions i {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #dde5f0;
  display: grid;
  place-items: center;
  color: #3e5a76;
  box-shadow: 0 5px 12px rgba(21, 40, 71, 0.04);
  font-style: normal;
}

.mock-top-actions i::before {
  content: none;
}

.mock-top-actions i svg {
  width: 13px;
  height: 13px;
  display: block;
  stroke: currentColor;
  stroke-width: 2;
}

.mock-top-actions em {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #eaf1ff, #d5e7ff);
  color: #2553b9;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
}

.mock-heading {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 13px 15px 10px;
  margin: 0;
}

.mock-heading b {
  font-size: 13px;
}

.mock-heading small {
  font-size: 7.6px;
  color: #637087;
}

.mock-heading em {
  background: #eef5ff;
  color: #2c5fca;
  font-size: 7.2px;
  font-style: normal;
  font-weight: 850;
  padding: 5px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.mock-heading strong {
  color: #5f6d82;
  font-size: 7.7px;
  white-space: nowrap;
}

.mock-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 0 15px;
  margin: 0 0 10px;
}

.mock-kpis div {
  position: relative;
  min-width: 0;
  min-height: 58px;
  padding: 10px 11px 9px 11px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #e5ebf3;
  box-shadow: 0 4px 14px rgba(28, 45, 72, 0.045);
}

.mock-kpis span {
  display: block;
  color: #5a6577;
  font-size: 7.5px;
  margin-bottom: 5px;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
}

.mock-kpis strong {
  display: block;
  color: #111827;
  font-size: 12.4px;
  line-height: 1.1;
  white-space: nowrap;
}

.mock-kpis strong em {
  color: #8290a3;
  font-size: 6.4px;
  font-style: normal;
  font-weight: 700;
}

.mock-kpis small {
  display: block;
  color: #7b8a9e;
  font-size: 6.5px;
  margin-top: 6px;
  white-space: nowrap;
}

.mock-kpi-card::after {
  display: none;
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 20px;
  height: 20px;
  border-radius: 10px;
  transform: translateY(-50%);
  background: #eef5ff;
}

.mock-kpi-card.blue::after { background: #eef5ff; }
.mock-kpi-card.amber::after { background: #fff6df; }
.mock-kpi-card.green::after { background: #e8fbf3; }
.mock-kpi-card.purple::after { background: #f2eaff; }

.mock-kpi-card.green strong,
.mock-kpi-card.purple strong {
  color: #10a66a;
}

.mock-panel-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 0 15px;
}

.mock-chart-card {
  min-height: 154px;
  padding: 0;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-color: #e5ebf3;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

.mock-chart-card {
  min-height: 236px !important;
}

.mock-line-chart {
  height: 186px !important;
}

.mock-panel-head {
  height: 32px;
  padding: 0 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #edf1f5;
}

.mock-panel-head b {
  color: #172033;
  font-size: 8.5px;
}

.mock-panel-head span {
  color: #5a6577;
  font-size: 7px;
  width: auto;
  height: auto;
  margin: 0;
  border-radius: 0;
  background: transparent;
}

.mock-line-chart {
  position: relative;
  display: block;
  align-items: flex-end;
  gap: 11px;
  height: 122px;
  margin: 0 12px 10px;
  padding: 8px 0 15px 34px;
  border-bottom: 0;
  background:
    linear-gradient(#e8eef6 1px, transparent 1px) 34px 15px / calc(100% - 34px) 24px repeat-y;
}

.mock-line-chart span {
  flex: 1;
  min-width: 8px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, #60a5fa, #2563eb);
}

.mock-line-chart > span {
  background: linear-gradient(180deg, #72a4ff, #2563eb);
  border-radius: 7px 7px 0 0;
}

.mock-axis {
  position: absolute;
  left: 0;
  top: 11px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #8a97aa;
  font-size: 6.3px;
}

.mock-axis span,
.mock-chart-legend span,
.mock-chart-dates span {
  width: auto;
  height: auto;
  margin: 0;
  border-radius: 0;
  background: transparent;
}

.mock-line-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.mock-area {
  fill: url(#mockArea);
}

.mock-line-blue,
.mock-line-green {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mock-line-blue { stroke: #2563eb; }
.mock-line-green { stroke: #10a66a; }

.mock-points-blue circle,
.mock-points-green circle {
  r: 4;
  fill: #ffffff;
  stroke-width: 4;
}

.mock-points-blue circle { stroke: #2563eb; }
.mock-points-green circle { stroke: #10a66a; }

.mock-chart-legend {
  position: absolute;
  right: 8px;
  top: 10px;
  display: flex;
  gap: 10px;
  color: #617087;
  font-size: 6.5px;
}

.mock-chart-legend span {
  position: relative;
  padding-left: 8px;
}

.mock-chart-legend span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2563eb;
}

.mock-chart-legend span:nth-child(2)::before {
  background: #10a66a;
}

.mock-chart-dates {
  position: absolute;
  left: 34px;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  color: #8a97aa;
  font-size: 6.2px;
}

.phone-mockup {
  position: absolute;
  width: 174px;
  height: 360px;
  right: -3%;
  bottom: -56px;
  padding: 5px;
  border-radius: 26px;
  background: linear-gradient(135deg, #111827, #020617);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    -12px 20px 48px rgba(15, 23, 42, 0.32);
  transform: rotate(-2.5deg) translateY(8px);
}

.phone-screen {
  height: 100%;
  border-radius: 21px;
  padding: 10px 9px 10px;
  background: #f4f7fb;
  overflow: hidden;
}

.phone-screen b {
  font-size: 12px;
  margin-bottom: 3px;
}

.phone-screen p {
  margin: 6px 0 5px;
  color: #64748b;
  font-size: 6.4px;
  line-height: 1.4;
}

.phone-card {
  position: relative;
  min-height: 39px;
  padding: 5px 8px 5px 8px;
  margin-bottom: 4px;
  border-radius: 13px;
  background: #ffffff;
  border: 1px solid #e5ebf3;
  box-shadow: 0 4px 12px rgba(28, 45, 72, 0.04);
}

.phone-card span {
  display: block;
  font-size: 6.2px;
  color: #5a6577;
  margin-bottom: 3px;
}

.phone-card strong {
  display: block;
  font-size: 11px;
  line-height: 1.1;
  color: #2563eb;
}

.phone-card strong em {
  color: #7b8a9e;
  font-size: 6px;
  font-style: normal;
  font-weight: 700;
}

.phone-card small {
  display: block;
  margin-top: 3px;
  color: #8a97aa;
  font-size: 5.8px;
}

.phone-card i {
  display: none;
  position: absolute;
  right: 12px;
  top: 50%;
  width: 21px;
  height: 21px;
  border-radius: 9px;
  transform: translateY(-50%);
  background: #eef5ff;
}

.phone-card.amber i { background: #fff6df; }
.phone-card.green i { background: #e8fbf3; }
.phone-card.purple i { background: #f2eaff; }

.phone-card.green strong,
.phone-card.purple strong {
  color: #10a66a;
}

.phone-toolbar {
  display: grid;
  grid-template-columns: 24px 1fr 1fr 24px;
  gap: 5px;
  align-items: center;
}

.phone-toolbar i,
.phone-toolbar em,
.phone-toolbar span {
  height: 24px;
  border-radius: 9px;
  background: #ffffff;
  border: 1px solid #dfe7f2;
  box-shadow: 0 3px 8px rgba(28, 45, 72, 0.04);
}

.phone-toolbar i {
  position: relative;
}

.phone-toolbar i::before,
.phone-toolbar i::after {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  height: 2px;
  border-radius: 999px;
  background: #52627a;
}

.phone-toolbar i::before { top: 8px; }
.phone-toolbar i::after { bottom: 8px; }

.phone-toolbar span {
  display: grid;
  place-items: center;
  color: #1f2a3d;
  font-size: 7.2px;
  font-weight: 850;
}

.phone-toolbar em {
  background: radial-gradient(circle at 50% 36%, #ffd7a8 0 22%, #3777ed 23% 58%, #dbeafe 59% 100%);
}

.phone-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.phone-tabs b {
  margin: 0;
  padding: 5px 8px;
  border-radius: 999px;
  color: #2563eb;
  background: #eef5ff;
  font-size: 8px;
}

.phone-tabs strong {
  color: #52627a;
  font-size: 8px;
}

.phone-kpi-list {
  display: grid;
  gap: 7px;
}

@media (max-width: 760px) {
  .desktop-mockup {
    min-width: 0;
    width: 100%;
    padding: 4px;
    border-radius: 12px;
  }

  .desktop-screen {
    grid-template-columns: 52px minmax(0, 1fr);
    min-height: 244px;
  }

  .mock-sidebar {
    padding: 8px 6px;
    gap: 4px;
  }

  .mock-brand {
    justify-content: center;
    padding-bottom: 6px;
  }

  .mock-nav-item {
    font-size: 0;
  }

  .mock-nav-item {
    height: 20px;
  }

  .mock-brand div:last-child {
    display: none;
  }

  .mock-nav-item {
    justify-content: center;
    padding: 0;
  }

  .mock-app-topbar {
    height: 30px;
    padding: 0 8px;
  }

  .mock-app-topbar b {
    font-size: 9px;
  }

  .mock-top-actions span:nth-child(2),
  .mock-top-actions i {
    display: none;
  }

  .mock-heading {
    padding: 9px 9px 7px;
  }

  .mock-heading small,
  .mock-heading em,
  .mock-heading strong {
    display: none;
  }

  .mock-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 0 9px;
  }

  .mock-kpis div {
    min-height: 42px;
    padding: 7px 22px 7px 7px;
  }

  .mock-kpis span,
  .mock-kpis small {
    font-size: 6px;
  }

  .mock-kpis strong {
    font-size: 9px;
  }

  .mock-kpi-card::after {
    width: 16px;
    height: 16px;
    right: 5px;
    border-radius: 6px;
  }

  .mock-panel-row {
    display: block;
    padding: 0 9px;
  }

  .mock-chart-card {
    min-height: 88px;
  }

  .mock-line-chart {
    height: 52px;
    padding-left: 22px;
  }

  .mock-axis,
  .mock-chart-legend,
  .mock-chart-dates {
    display: none;
  }

  .phone-mockup {
    width: 124px;
    height: 248px;
    right: -6px;
    bottom: -24px;
    padding: 4px;
  }

  .phone-screen {
    padding: 8px 7px 7px;
  }

  .phone-toolbar {
    grid-template-columns: 20px 1fr 1fr 20px;
    gap: 3px;
  }

  .phone-toolbar i,
  .phone-toolbar em,
  .phone-toolbar span {
    height: 20px;
    font-size: 5.8px;
  }

  .phone-screen p {
    font-size: 5.8px;
    margin: 5px 0;
  }

  .phone-tabs {
    gap: 5px;
    margin-bottom: 5px;
  }

  .phone-tabs b,
  .phone-tabs strong {
    font-size: 5.8px;
  }

  .phone-card {
    min-height: 38px;
    padding: 6px 7px 5px 7px;
    margin-bottom: 5px;
    border-radius: 10px;
  }

  .phone-card span,
  .phone-card small {
    font-size: 5.4px;
  }

  .phone-card strong {
    font-size: 9px;
  }

  .phone-card i {
    width: 20px;
    height: 20px;
    right: 7px;
  }
}

@media (max-width: 520px) {
  .desktop-mockup {
    width: 100%;
    margin-inline: auto;
  }

  .phone-mockup {
    right: -2px;
    transform-origin: right bottom;
  }
}
