/* ========== 云助端 - 噢易云桌面解决方案 ========== */
/* 主色值 #ff6a00 | 风格参考: 阿里云/华为大厂风格 */

/* ===== 基础变量 ===== */
:root {
  --primary: #ff6a00;
  --primary-light: #ff8c33;
  --primary-dark: #e05e00;
  --primary-bg: rgba(255, 106, 0, 0.06);
  --primary-border: rgba(255, 106, 0, 0.2);

  --dark: #0a0a0a;
  --dark-secondary: #1a1a2e;
  --dark-card: #12122a;

  --text-primary: #1a1a2e;
  --text-secondary: #5a5a7a;
  --text-muted: #8a8aaa;

  --bg-white: #ffffff;
  --bg-light: #f8f9fc;
  --bg-section: #f5f6fa;

  --border-light: #e8eaf0;
  --border-card: #eef0f6;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 16px 60px rgba(0, 0, 0, 0.1);
  --shadow-primary: 0 8px 32px rgba(255, 106, 0, 0.2);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}


/* ===== Hero 区域 ===== */
.hero-section {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(160deg, #f8f9fc 0%, #eef1fa 40%, #f0f4ff 100%);
  overflow: hidden;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 106, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 106, 0, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.shape-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 106, 0, 0.08), transparent 70%);
  top: -200px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(106, 53, 255, 0.06), transparent 70%);
  bottom: -100px;
  left: -50px;
  animation: float 10s ease-in-out infinite reverse;
}

.shape-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 106, 0, 0.06), transparent 70%);
  top: 40%;
  left: 30%;
  animation: float 12s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -20px) scale(1.05); }
  66% { transform: translate(-10px, 15px) scale(0.95); }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  padding-bottom: 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 20px;
  background: rgba(255, 106, 0, 0.08);
  border: 1px solid rgba(255, 106, 0, 0.25);
  border-radius: 50px;
  color: var(--primary);
  margin-bottom: 28px;
}

.hero-badge i {
  font-size: 16px;
}

.hero-title {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--primary-light), #ffaa44);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 18px;
  opacity: .6;
  line-height: 1.8;
  margin-bottom: 0;
  max-width: 520px;
}

/* Hero 产品展示图 */
.hero-visual {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  padding-bottom: 80px;
}

.hero-illustration {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
}

.hero-product-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(0, 0, 0, 0.04);
}

/* 浮动卡片 */
.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 106, 0, 0.12);
  border-radius: 50px;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  animation: cardFloat 4s ease-in-out infinite;
}

.floating-card i {
  font-size: 18px;
  color: var(--primary);
}

.card-1 { top: 8%; right: -24px; animation-delay: 0s; }
.card-2 { bottom: 28%; left: -28px; animation-delay: 1.5s; }
.card-3 { bottom: 6%; right: 8%; animation-delay: 3s; }

@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ===== 通用 Section 样式 ===== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--primary-bg);
  border: 1px solid var(--primary-border);
  border-radius: 50px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.section-title {
  font-size: 40px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px!important;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== 核心优势 ===== */
.section-advantages {
  padding: 100px 0;
  background: var(--bg-white);
  position: relative;
}

.advantage-card {
  position: relative;
  background: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 36px 28px 32px;
  transition: var(--transition-slow);
  height: 100%;
  overflow: hidden;
}

.advantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  opacity: 0;
  transition: var(--transition);
}

.advantage-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-border);
}

.advantage-card:hover::before {
  opacity: 1;
}

.advantage-card-highlight {
  background: linear-gradient(135deg, #0a0a1a, #1a1035);
  border-color: rgba(255, 106, 0, 0.3);
  color: #fff;
}

.advantage-card-highlight .advantage-title {
  color: #fff;
}

.advantage-card-highlight .advantage-desc {
  color: rgba(255, 255, 255, 0.6);
}

.advantage-card-highlight .advantage-number {
  color: rgba(255, 106, 0, 0.3);
}

.advantage-card-highlight .advantage-tags span {
  background: rgba(255, 106, 0, 0.15);
  border-color: rgba(255, 106, 0, 0.3);
  color: var(--primary-light);
}

.advantage-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.advantage-icon i {
  font-size: 26px;
  color: var(--primary);
}

.advantage-card-highlight .advantage-icon {
  background: rgba(255, 106, 0, 0.15);
}

.advantage-card-highlight .advantage-icon i {
  color: var(--primary-light);
}

.advantage-number {
  font-size: 64px;
  font-weight: 900;
  color: rgba(255, 106, 0, 0.08);
  position: absolute;
  top: 16px;
  right: 20px;
  line-height: 1;
}

.advantage-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}

.advantage-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.advantage-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.advantage-tags span {
  padding: 4px 12px;
  background: var(--primary-bg);
  border: 1px solid var(--primary-border);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 500;
  color: var(--primary);
}

/* ===== 方案组成 ===== */
.section-solution {
  padding: 100px 0;
  background: var(--bg-section)!important;
}

.solution-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.solution-diagram {
  position: relative;
  width: 400px;
  height: 400px;
}

.diagram-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-primary);
}

.diagram-center i {
  font-size: 32px;
  color: #fff;
  margin-bottom: 4px;
}

.diagram-center span {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.ring-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  animation: ringRotate 30s linear infinite;
}

@keyframes ringRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.diagram-ring {
  position: absolute;
  inset: 0;
}

.ring-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
}

.ring-node {
  position: absolute;
  transform: translate(-50%, -50%) rotate(calc(-1 * var(--angle))) translateX(155px) rotate(var(--angle));
  text-align: center;
  width: 100px;
}

.ring-node i {
  display: block;
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 6px;
}

.ring-node span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
}

.solution-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.solution-card {
  display: flex;
  gap: 24px;
  background: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}

.solution-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.solution-card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.solution-card-icon i {
  font-size: 28px;
}

.hardware-icon {
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.08), rgba(255, 106, 0, 0.15));
}

.hardware-icon i {
  color: var(--primary);
}

.software-icon {
  background: linear-gradient(135deg, rgba(106, 53, 255, 0.08), rgba(106, 53, 255, 0.15));
}

.software-icon i {
  color: #6a35ff;
}

.solution-card-body h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.solution-card-body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.solution-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}

.spec-item i {
  color: var(--primary);
  font-size: 14px;
}

/* ===== 方案价值 ===== */
.section-value {
  padding: 100px 0;
  background: var(--bg-light);
}

.value-card {
  background: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.value-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--primary-border);
}

.value-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.value-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ===== 应用场景 ===== */
.section-scenarios {
  padding: 100px 0;
  background: var(--bg-white);
}

.scenario-card {
  background: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition-slow);
  height: 100%;
}

.scenario-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-border);
}

.scenario-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.scenario-icon i {
  font-size: 24px;
  color: var(--primary);
}

.scenario-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.scenario-card > p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.scenario-features {
  list-style: none;
  padding: 0;
}

.scenario-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 13px;
  color: var(--text-muted);
}

.scenario-features li i {
  color: var(--primary);
  font-size: 16px;
}


/* ===== 动画 ===== */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate="fade-right"] {
  transform: translateX(-30px);
}

[data-animate="fade-left"] {
  transform: translateX(30px);
}

[data-animate].animated {
  opacity: 1;
  transform: translate(0, 0);
}

/* ===== 响应式 ===== */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 40px;
  }

  .section-title {
    font-size: 32px;
  }

  .hero-visual {
    padding-top: 40px;
    padding-bottom: 60px;
  }

  .hero-content {
    padding-top: 100px;
    padding-bottom: 20px;
    text-align: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }
  .floating-card {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .hero-title {
    font-size: 32px;
  }

  .section-title {
    font-size: 28px;
  }

  .hero-stats {
    gap: 20px;
  }

  .stat-number {
    font-size: 28px;
  }

  .solution-diagram {
    width: 300px;
    height: 300px;
  }

  .ring-node {
    transform: translate(-50%, -50%) rotate(calc(-1 * var(--angle))) translateX(110px) rotate(var(--angle));
  }

  .solution-specs {
    grid-template-columns: 1fr;
  }

  .section-advantages,
  .section-solution,
  .section-value,
  .section-scenarios,
  .section-architecture {
    padding: 60px 0;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 28px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
  }
}
