/**
 * Offline (端到端数据安全保护) 2.0 Page Styles
 * 基于组件系统的页面级样式补充
 */

/* ========== Banner 区域 ========== */
.offline-banner {
  background: linear-gradient(135deg, #e8f4fd 0%, #d4e8fc 50%, #c5dcf8 100%);
  position: relative;
  overflow: hidden;
}

/* ========== Section 1: 文件伴随业务流转 泄露引发业务风险 ========== */
.offline-section1 .section1-cards {
  display: flex;
  justify-content: center;
}

.offline-section1 .section1-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 1280px;
}

.offline-section1 .section1-card {
  background: #EEF2FA;
  border-radius: 24px;
  padding: 32px 24px 40px;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.offline-section1 .section1-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(93, 91, 175, 0.15);
}

.offline-section1 .section1-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.offline-section1 .section1-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.offline-section1 .section1-card-title {
 
  font-size: 20px;
  font-weight: 600;
  color: #101C2F;
  line-height: 1.3;
}

.offline-section1 .section1-card-desc {
 
  font-size: 14px;
  font-weight: 400;
  color: #6B7280;
  line-height: 24px;
}

/* ========== Section 2: 软件定义全方位安全保护 ========== */
.offline-section2 {
  /* padding: 0 16px; */
}

.offline-section2 .section-wrap {
  position: relative;
  overflow: visible;
}

/* 背景色样式 */
.offline-section2 .section-bg-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% - 60px);
  z-index: 0;
  background: #F7F9FC;
  border-radius: 24px;
}

.offline-section2 .section-container {
  position: relative;
  z-index: 1;
  /* padding: 80px 0 0; */
}

.offline-section2 .section2-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* padding: 40px 0 0; */
  gap: 24px;
}

.offline-section2 .section2-content-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1280px;
  /* padding: 0 0 60px; */
}

.offline-section2 .section2-content-img {
  max-width: 1280px;
  width: 100%;
  height: auto;
}

/* Section2 安全架构图 */
.offline-section2 .section2-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 100%;
  max-width: 1280px;
  min-height: 420px;
  background: #EEF2FA;
  border-radius: 24px;
  padding: 40px 32px;
  position: relative;
}

/* 左侧: 个人工作区 */
.offline-section2 .section2-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.offline-section2 .section2-workspace-frame {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

/* 安全控制盒子 */
.offline-section2 .section2-security-box {
  display: flex;
  gap: 8px;
  padding: 8px;
  background: linear-gradient(152deg, rgba(45, 212, 191, 0.4) -48%, rgba(20, 211, 187, 0.4) 52%, rgba(102, 142, 229, 0.4) 140%);
  border-radius: 16px;
  box-shadow: 0 8.68px 18.52px 0 rgba(20, 45, 87, 0.08);
}

.offline-section2 .section2-control-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.offline-section2 .section2-control-item {
  background: #F0FDFB;
  border-radius: 8px;
  padding: 7px 13px;
 
  font-size: 12px;
  font-weight: 500;
  color: #101C2F;
  line-height: 28px;
  text-align: center;
  min-width: 68px;
}

/* 本地磁盘 */
.offline-section2 .section2-local-disk {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: #F0FDFB;
  border-radius: 8px;
  padding: 20px 13px;
  min-width: 74px;
}

.offline-section2 .section2-disk-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #101C2F;
}

.offline-section2 .section2-local-disk span {
 
  font-size: 12px;
  font-weight: 500;
  color: #101C2F;
  line-height: 28px;
}

/* 禁止图标 */
.offline-section2 .section2-forbidden-icon {
  position: absolute;
  right: -28px;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 28.48px 0 rgba(255, 0, 0, 0.15);
  z-index: 2;
}

/* 工作区标签 */
.offline-section2 .section2-workspace-label {
  padding: 8px 16px;
  border-radius: 8px;
 
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  line-height: 16px;
  text-align: center;
}

.offline-section2 .section2-personal-label {
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.9) -21%, rgba(20, 211, 187, 0.9) 44%, rgba(93, 141, 249, 0.9) 102%);
}

.offline-section2 .section2-enterprise-label {
  background: linear-gradient(109deg, rgba(172, 63, 244, 0.9) -12%, rgba(49, 110, 243, 0.9) 174%);
}

/* 中间: 安全传输通道 */
.offline-section2 .section2-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  min-width: 196px;
}

.offline-section2 .section2-arrow-container {
  position: absolute;
  width: 196px;
  height: 107px;
}

.offline-section2 .section2-arrow-left {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 8px 17px rgba(20, 45, 87, 0.08));
}

.offline-section2 .section2-channel-circle {
  position: relative;
  z-index: 1;
  width: 110px;
  height: 110px;
  background: #fff;
  border: 1px solid;
  border-image: linear-gradient(135deg, #4472DC 0%, #10B1C8 100%) 1;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: 0 5.7px 28.48px 0 rgba(42, 104, 137, 0.12);
}

.offline-section2 .section2-channel-circle {
  border: 1px solid transparent;
  background: 
    linear-gradient(white, white) padding-box,
    linear-gradient(135deg, #4472DC 0%, #10B1C8 100%) border-box;
}

.offline-section2 .section2-channel-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.offline-section2 .section2-channel-circle span {
 
  font-size: 10px;
  font-weight: 500;
  color: #101C2F;
  line-height: 16px;
  text-align: center;
  white-space: pre-line;
}

/* 右侧: 企业安全工作区 */
.offline-section2 .section2-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  max-width: 570px;
}

.offline-section2 .section2-enterprise-container {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(to right, #101C2F 0%, #EEF2FA 30%, #F0F2F7 70%, #FFFFFF 100%);
  border-radius: 24px;
  padding: 31px 0 38px 31px;
  width: 100%;
}

/* 云端集中管理 */
.offline-section2 .section2-cloud-mgmt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 112px;
  height: 100%;
  background: linear-gradient(166deg, rgba(45, 212, 191, 0.9) -33%, rgba(49, 110, 243, 0.9) 70%);
  border-radius: 12px;
  padding: 40px 12px;
}

.offline-section2 .section2-cloud-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.offline-section2 .section2-cloud-mgmt span {
 
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  line-height: 16px;
  text-align: center;
}

/* 文件保护区域 */
.offline-section2 .section2-file-protection {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

/* 分发圆圈区域 */
.offline-section2 .section2-distribution {
  display: flex;
  flex-direction: column;
  gap: -23px;
}

.offline-section2 .section2-dist-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 106px;
  height: 106px;
  background: #fff;
  border: 1px solid transparent;
  background: 
    linear-gradient(white, white) padding-box,
    linear-gradient(135deg, #4472DC 0%, #10B1C8 100%) border-box;
  border-radius: 50%;
  box-shadow: 0 5.48px 27.41px 0 rgba(42, 104, 137, 0.12);
}

.offline-section2 .section2-dist-circle span {
 
  font-size: 12px;
  font-weight: 500;
  color: #101C2F;
  line-height: 16px;
}

/* 文件卡片 */
.offline-section2 .section2-file-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.offline-section2 .section2-file-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 38px 23px;
  background: linear-gradient(145deg, rgba(45, 212, 191, 0.9) -26%, rgba(49, 110, 243, 0.9) 66%);
  border-radius: 12px;
}

.offline-section2 .section2-file-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.offline-section2 .section2-file-card span {
 
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  line-height: 16px;
  text-align: center;
  white-space: pre-line;
}

/* 外部用户 */
.offline-section2 .section2-external-users {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.offline-section2 .section2-user-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 96px;
  height: 96px;
  background: linear-gradient(145deg, rgba(45, 212, 191, 0.9) -26%, rgba(49, 110, 243, 0.9) 66%);
  border-radius: 12px;
}

.offline-section2 .section2-user-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.offline-section2 .section2-user-card span {
 
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  line-height: 16px;
}

/* Filez Drive 区域 */
.offline-section2 .section2-filez-drive {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px;
  background: linear-gradient(156deg, rgba(172, 63, 244, 0.4) -3%, rgba(49, 110, 243, 0.4) 275%);
  border-radius: 16px;
}

.offline-section2 .section2-filez-drive .section2-drive-logo {
  width: 32px;
  height: 32px;
  background: #fff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0.25px solid #D9D9D9;
}

.offline-section2 .section2-filez-drive .section2-drive-logo img {
  width: 23px;
  height: 23px;
  object-fit: contain;
}

.offline-section2 .section2-filez-drive span {
 
  font-size: 12px;
  font-weight: 500;
  color: #101C2F;
  line-height: 16px;
}

/* ========== Section 3/4: Media List 布局微调 ========== */
.offline-section3,
.offline-section4 {
  background: #fff;
}

/* Section 标题和描述左对齐 */
.offline-section3 .section-title,
.offline-section3 .section-desc,
.offline-section4 .section-title,
.offline-section4 .section-desc {
  text-align: left;
}

.offline-section3 .media-list,
.offline-section4 .media-list {
  gap: 80px;
}


/* ========== Section 5: 典型企业应用场景 ========== */
.offline-section5 {
  background: #fff;
}

/* ========== Section 6: 核心业务价值 ========== */
.offline-section6 {
  position: relative;
  overflow: hidden;
}

.offline-section6 .section6-wrapper {
  display: flex;
  justify-content: center;
  /* padding: 40px 0 0; */
}

.offline-section6 .section6-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 1280px;
  width: 100%;
}

.offline-section6 .section6-row {
  display: grid;
  grid-template-columns: 200px 1fr 1fr;
  gap: 12px;
  align-items: stretch;
}

.offline-section6 .section6-cell {
  border-radius: 16px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.offline-section6 .section6-empty {
  background: transparent;
}

.offline-section6 .section6-row-header {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 16px;
  /* min-height: 160px; */
 
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  gap: 8px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.offline-section6 .section6-row-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

/* Online (Blue) gradient */
.offline-section6 .section6-online {
  background: linear-gradient(180deg, rgba(49, 113, 252, 0.72) 0%, rgba(37, 99, 235, 0.9) 100%);
}

/* Offline (Purple) gradient */
.offline-section6 .section6-offline {
  background: linear-gradient(180deg, rgba(150, 105, 255, 0.9) 0%, rgba(123, 37, 235, 0.72) 100%);
}

.offline-section6 .section6-content {
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 32px;
  /* min-height: 160px; */
 
  font-size: 18px;
  font-weight: 500;
  color: #000;
  line-height: 32px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

#zh .offline-section6 .section6-content {
  padding: 48px 32px;
}

.offline-section6 .section6-content-text {
  position: relative;
  z-index: 1;
}

/* Blur circle decoration */
.offline-section6 .section6-blur-circle {
  position: absolute;
  width: 263px;
  height: 264px;
  right: -15px;
  bottom: -180px;
  border-radius: 50%;
  filter: blur(180px);
  pointer-events: none;
}

.offline-section6 .section6-blur-blue {
  background: #93B4FD;
}

.offline-section6 .section6-blur-purple {
  background: #BFA4FF;
}

/* Online content background (Blue gradient) */
.offline-section6 .section6-online-bg {
  background: linear-gradient(155deg, rgba(147, 180, 253, 0.6) 5%, rgba(102, 149, 255, 0.6) 69%);
}

/* Offline content background (Purple gradient) */
.offline-section6 .section6-offline-bg {
  background: linear-gradient(164deg, rgba(186, 156, 255, 0.6) 12%, rgba(163, 114, 255, 0.6) 75%);
}

.offline-section6 .section6-footer-row {
  margin-top: 0;
  min-height: 64px;
}

.offline-section6 .section6-footer-label {
  justify-content: center;
  padding: 16px;
 
  font-size: 20px;
  font-weight: 600;
  line-height: 32px;
  border-radius: 16px;
  position: relative;
  background: #fff;
  /* Gradient text */
  color: transparent;
}

/* Gradient border using pseudo-element */
.offline-section6 .section6-footer-label::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: 16px;
  background: linear-gradient(113deg, #2DD4BF -10%, #2563EB 50%, #F43F5E 110%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.offline-section6 .section6-footer-label span {
  background: linear-gradient(113deg, #2DD4BF -10%, #2563EB 50%, #F43F5E 110%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========== Footer Lead CTA ========== */
.offline-cta-banner {
  /* padding: 0; */
}

/* ========== Responsive ========== */
@media (max-width: 1280px) {
  .offline-section1 .section1-row {
    gap: 20px;
  }

  .offline-section6 .section6-grid {
    max-width: 100%;
  }

  .offline-section6 .section6-row {
    grid-template-columns: 160px 1fr 1fr;
  }

  .offline-section6 .section6-row-header {
    min-height: 140px;
    font-size: 20px;
  }

  .offline-section6 .section6-content {
    /* min-height: 140px; */
    font-size: 16px;
    line-height: 28px;
    padding: 24px;
  }
}

@media (max-width: 1024px) {
  .offline-section1 .section1-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .offline-section2 .section-container {
    padding: 60px 40px 0;
  }

  .offline-section2 .section2-wrapper {
    /* padding: 30px 0 0; */
  }

  .offline-section2 .section2-diagram {
    flex-direction: column;
    gap: 32px;
    padding: 32px 24px;
  }

  .offline-section2 .section2-left,
  .offline-section2 .section2-right {
    width: 100%;
    max-width: none;
  }

  .offline-section2 .section2-center {
    transform: rotate(90deg);
    margin: 20px 0;
  }

  .offline-section2 .section2-channel-circle span {
    transform: rotate(-90deg);
  }

  .offline-section2 .section2-enterprise-container {
    flex-wrap: wrap;
    gap: 16px;
    padding: 24px;
    background: linear-gradient(135deg, #101C2F 0%, #EEF2FA 50%, #FFFFFF 100%);
  }

  .offline-section2 .section2-forbidden-icon {
    right: -20px;
    width: 44px;
    height: 44px;
  }

  .offline-section3 .media-list,
  .offline-section4 .media-list {
    gap: 40px;
  }

  .offline-section6 .section6-row {
    grid-template-columns: 120px 1fr 1fr;
  }

  .offline-section6 .section6-row-header {
    min-height: 120px;
    font-size: 18px;
    padding: 12px;
  }

  .offline-section6 .section6-content {
    /* min-height: 120px; */
    font-size: 14px;
    line-height: 24px;
    padding: 20px;
  }

  .offline-section6 .section6-footer-label {
    font-size: 16px;
    line-height: 28px;
    padding: 12px;
  }
}

@media (max-width: 768px) {
  .offline-section1 .section1-row {
    grid-template-columns: 1fr;
  }

  .offline-section1 .section1-card {
    padding: 24px 20px 32px;
    gap: 12px;
  }

  .offline-section1 .section1-card-icon {
    width: 40px;
    height: 40px;
  }

  .offline-section1 .section1-card-title {
    font-size: 18px;
  }

  .offline-section1 .section1-card-desc {
    font-size: 13px;
    line-height: 22px;
  }

  .offline-section2 .section-bg-wrap {
    height: calc(100% - 40px);
  }

  .offline-section2 .section-container {
    padding: 40px 16px 0;
  }

  .offline-section2 .section2-wrapper {
    /* padding: 24px 0 0; */
  }

  .offline-section2 .section2-content-img {
    max-width: 100%;
  }

  .offline-section2 .section2-diagram {
    padding: 24px 16px;
    gap: 24px;
  }

  .offline-section2 .section2-security-box {
    flex-direction: column;
  }

  .offline-section2 .section2-control-list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .offline-section2 .section2-control-item {
    font-size: 11px;
    padding: 6px 10px;
    line-height: 20px;
    min-width: auto;
  }

  .offline-section2 .section2-local-disk {
    padding: 16px 10px;
  }

  .offline-section2 .section2-forbidden-icon {
    position: static;
    transform: none;
    width: 40px;
    height: 40px;
    margin: 8px 0;
  }

  .offline-section2 .section2-workspace-frame {
    flex-direction: column;
  }

  .offline-section2 .section2-center {
    transform: none;
    margin: 0;
  }

  .offline-section2 .section2-channel-circle {
    width: 90px;
    height: 90px;
  }

  .offline-section2 .section2-channel-circle span {
    transform: none;
    font-size: 9px;
  }

  .offline-section2 .section2-arrow-container {
    display: none;
  }

  .offline-section2 .section2-enterprise-container {
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }

  .offline-section2 .section2-cloud-mgmt {
    width: 100%;
    padding: 20px 12px;
  }

  .offline-section2 .section2-distribution {
    flex-direction: row;
    gap: 12px;
    justify-content: center;
  }

  .offline-section2 .section2-dist-circle {
    width: 80px;
    height: 80px;
  }

  .offline-section2 .section2-dist-circle span {
    font-size: 10px;
  }

  .offline-section2 .section2-file-cards {
    flex-direction: row;
    gap: 12px;
    justify-content: center;
  }

  .offline-section2 .section2-file-card {
    flex: 1;
    padding: 20px 12px;
  }

  .offline-section2 .section2-file-card span {
    font-size: 10px;
  }

  .offline-section2 .section2-external-users {
    flex-direction: row;
    gap: 12px;
    justify-content: center;
  }

  .offline-section2 .section2-user-card {
    width: 80px;
    height: 80px;
  }

  .offline-section2 .section2-user-card span {
    font-size: 10px;
  }

  .offline-section2 .section2-workspace-label {
    font-size: 11px;
    padding: 6px 12px;
  }

  .offline-section6 .section6-grid {
    gap: 8px;
  }

  .offline-section6 .section6-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .offline-section6 .section6-row:not(.section6-footer-row) {
    display: flex;
    flex-direction: column;
  }

  .offline-section6 .section6-row-header {
    flex-direction: row;
    min-height: auto;
    padding: 16px 20px;
    font-size: 18px;
    gap: 12px;
  }

  .offline-section6 .section6-row-icon {
    width: 28px;
    height: 28px;
  }

  .offline-section6 .section6-footer-row {
    display: none;
  }

  .offline-section6 .section6-cell {
    border-radius: 12px;
  }

  .offline-section6 .section6-content {
    /* min-height: auto; */
    padding: 20px;
    font-size: 14px;
    line-height: 24px;
  }

  .offline-section6 .section6-footer-label {
    font-size: 14px;
    line-height: 24px;
    padding: 10px;
    border-radius: 12px;
  }

  .offline-section6 .section6-footer-label::before {
    border-radius: 12px;
  }
}
