/* ==========================================================================
   极易智联 JIYI LINK · 企业介绍 / 品牌官网 样式
   （与产品页 css/style.css 分离，避免同名文件冲突）
   ========================================================================== */

:root {
  --jy-blue: #2563FF;
  --jy-cyan: #00C8FF;
  --jy-dark: #0A0F1A;
  --jy-darker: #050914;
  --jy-gray: #9CA3AF;
  --jy-border: #E5E7EB;
  --jy-grad: linear-gradient(135deg, #2563FF 0%, #00C8FF 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans CJK SC', 'Source Han Sans SC', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #1F2937;
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

/* 导航样式统一由 css/nav.css 提供 */

/* ============ 按钮 ============ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--jy-grad);
  color: #ffffff;
  font-weight: 600;
  border-radius: 9999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 24px rgba(37, 99, 255, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(37, 99, 255, 0.5); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  border-radius: 9999px;
  transition: background 0.2s ease;
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); }

/* ============ 深色区块 ============ */
.dark-section {
  position: relative;
  background: var(--jy-dark);
  color: #ffffff;
  overflow: hidden;
}
.tech-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.4;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

/* ============ 文字修饰 ============ */
.section-label {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
}
.heading-underline { position: relative; padding-bottom: 4px; }
.heading-underline::after {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  margin-top: 14px;
  border-radius: 99px;
  background: var(--jy-grad);
}
.gradient-text {
  background: var(--jy-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

/* ============ 卡片 ============ */
.jy-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.jy-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12); }
.dark-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.dark-card:hover { transform: translateY(-4px); border-color: rgba(0, 200, 255, 0.5); }

/* ============ Hero 轨道光点 ============ */
.logo-orbit { position: relative; }
.orbit-dot {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--jy-cyan);
  box-shadow: 0 0 16px 4px rgba(0, 200, 255, 0.55);
  animation: orbitPulse 3s ease-in-out infinite;
}
@keyframes orbitPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.35); opacity: 1; }
}

/* ============ 经营操作系统 九节点图 ============ */
.system-diagram { position: relative; overflow: visible; }
.system-core {
  width: 150px; height: 150px;
  border-radius: 50%;
  background: var(--jy-grad);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  box-shadow: 0 0 50px rgba(37, 99, 255, 0.5);
}
.system-links { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbit-node {
  position: absolute;
  top: 50%; left: 50%;
  width: 84px; height: 84px;
  margin: -42px 0 0 -42px;
  transform: rotate(var(--angle)) translateY(-180px) rotate(calc(-1 * var(--angle)));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(37, 99, 255, 0.5);
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

/* ============ 产品能力 连接线 ============ */
.process-line {
  position: absolute;
  top: 50%;
  left: 6%; right: 6%;
  height: 2px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, transparent, #2563FF, #00C8FF, transparent);
  border-radius: 99px;
}

/* ============ 表单 ============ */
.form-input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--jy-border);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: #111827;
  background: #fff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-input:focus {
  border-color: var(--jy-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 255, 0.15);
}

/* ============ 页脚分隔 ============ */
.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}

/* ============ 滚动渐显 ============ */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal.visible { opacity: 1; transform: none; }
.js .reveal-delay-1 { transition-delay: 0.1s; }
.js .reveal-delay-2 { transition-delay: 0.2s; }
.js .reveal-delay-3 { transition-delay: 0.3s; }
.js .reveal-delay-4 { transition-delay: 0.4s; }

/* ============ 粒子画布 ============ */
#particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ============ 响应式微调 ============ */
@media (max-width: 768px) {
  .system-core { width: 120px; height: 120px; }
  .orbit-node {
    width: 64px; height: 64px;
    margin: -32px 0 0 -32px;
    transform: rotate(var(--angle)) translateY(-140px) rotate(calc(-1 * var(--angle)));
    font-size: 11px;
  }
}
