/* 沧云数科公司首页 — 浅色专业风格 */
.theme-company.cy-company-home {
  --cy-primary: #2563eb;
  --cy-primary-dark: #1d4ed8;
  --cy-accent: #7c3aed;
  --cy-text: #0f172a;
  --cy-text-muted: #64748b;
  --cy-border: #e2e8f0;
  --cy-bg: #ffffff;
  --cy-bg-soft: #f8fafc;
  --cy-gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  background: var(--cy-bg);
  color: var(--cy-text);
  max-width: 100%;
  overflow-x: clip;
}

.cy-company-home .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
  width: 100%;
}

.cy-hero .container {
  max-width: 1320px;
}

/* Hero */
.cy-hero {
  position: relative;
  padding: 88px 0 100px;
  background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 55%);
  overflow-x: clip;
}

.cy-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.cy-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px 40px;
  align-items: center;
  min-width: 0;
}

.cy-hero-copy {
  min-width: 0;
  max-width: 100%;
}

.cy-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: #5b21b6;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.2);
  margin-bottom: 20px;
}

.cy-hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7c3aed;
  box-shadow: 0 0 8px rgba(124, 58, 237, 0.6);
}

.cy-hero h1 {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 20px;
  color: var(--cy-text);
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}

.cy-hero-highlight {
  display: block;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
  background: var(--cy-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cy-hero-desc {
  font-size: 16px;
  line-height: 1.75;
  color: var(--cy-text-muted);
  margin: 0 0 28px;
  max-width: 520px;
  width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}

.cy-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.cy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cy-btn-primary {
  color: #fff;
  background: var(--cy-gradient);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.cy-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
  color: #fff;
}

.cy-btn-outline {
  color: var(--cy-text);
  background: #fff;
  border: 1.5px solid var(--cy-border);
}

.cy-btn-outline:hover {
  border-color: var(--cy-primary);
  color: var(--cy-primary);
}

.cy-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--cy-border);
  padding-top: 24px;
}

.cy-hero-stat {
  flex: 1;
  min-width: 100px;
  padding: 0 20px;
  border-right: 1px solid var(--cy-border);
}

.cy-hero-stat:first-child { padding-left: 0; }
.cy-hero-stat:last-child { border-right: none; }

.cy-hero-stat strong {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--cy-primary);
  line-height: 1.2;
}

.cy-hero-stat span {
  font-size: 13px;
  color: var(--cy-text-muted);
}

/* Banner 右侧 — AI 智能体终端（参考设计稿） */
.cy-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 32px 16px;
  min-width: 0;
  max-width: 100%;
  overflow: visible;
}

.cy-ai-showcase {
  position: relative;
  width: 100%;
  max-width: 560px;
  min-height: 420px;
  margin: 0 auto;
  box-sizing: border-box;
  overflow: visible;
}

.cy-ai-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 420px;
  height: 420px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(99, 102, 241, 0.35) 0%, rgba(37, 99, 235, 0.12) 45%, transparent 70%);
  filter: blur(8px);
  pointer-events: none;
  animation: cy-ai-glow-pulse 4s ease-in-out infinite;
}

@keyframes cy-ai-glow-pulse {
  0%, 100% { opacity: 0.85; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.06); }
}

.cy-ai-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(99, 102, 241, 0.25);
  pointer-events: none;
}

.cy-ai-ring--1 {
  width: 340px;
  height: 340px;
  margin: -170px 0 0 -170px;
  animation: cy-ai-spin 24s linear infinite;
}

.cy-ai-ring--2 {
  width: 400px;
  height: 400px;
  margin: -200px 0 0 -200px;
  border-style: dashed;
  opacity: 0.5;
  animation: cy-ai-spin 32s linear infinite reverse;
}

.cy-ai-ring--1::after,
.cy-ai-ring--2::after {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: #60a5fa;
  box-shadow: 0 0 12px #3b82f6;
}

@keyframes cy-ai-spin {
  to { transform: rotate(360deg); }
}

.cy-code-panel {
  position: relative;
  z-index: 2;
  width: calc(100% - 40px);
  max-width: calc(100% - 40px);
  box-sizing: border-box;
  margin: 24px auto 0;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(165deg, #0f172a 0%, #1e1b4b 55%, #312e81 100%);
  border: 1px solid rgba(129, 140, 248, 0.45);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 24px 60px rgba(79, 70, 229, 0.35),
    0 0 100px rgba(37, 99, 235, 0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.cy-ai-showcase:hover .cy-code-panel {
  transform: translateY(-6px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 32px 72px rgba(79, 70, 229, 0.42),
    0 0 120px rgba(59, 130, 246, 0.28);
}

.cy-code-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(15, 23, 42, 0.65);
  border-bottom: 1px solid rgba(99, 102, 241, 0.25);
  backdrop-filter: blur(8px);
  min-width: 0;
}

.cy-code-dots {
  display: flex;
  gap: 7px;
  flex-shrink: 0;
}

.cy-code-dots i {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.cy-code-dots i:nth-child(1) { background: #f87171; }
.cy-code-dots i:nth-child(2) { background: #fbbf24; }
.cy-code-dots i:nth-child(3) { background: #4ade80; }

.cy-code-title {
  flex: 1;
  font-family: ui-monospace, 'SF Mono', 'Cascadia Code', monospace;
  font-size: 13px;
  font-weight: 600;
  color: #e2e8f0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cy-code-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  color: #86efac;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.35);
}

.cy-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #22c55e;
  animation: cy-pulse-blink 1.5s ease-in-out infinite;
}

@keyframes cy-pulse-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.cy-code-body {
  margin: 0;
  padding: 22px 22px 18px;
  font-family: ui-monospace, 'Cascadia Code', 'Consolas', monospace;
  font-size: 13.5px;
  line-height: 1.75;
  color: #e2e8f0;
  overflow-x: auto;
  overflow-y: hidden;
}

.cy-code-body code {
  display: block;
  white-space: pre;
  word-break: normal;
}

.cy-code-body .kw { color: #c084fc; }
.cy-code-body .fn { color: #60a5fa; }
.cy-code-body .str { color: #86efac; }
.cy-code-body .cm { color: #94a3b8; font-style: italic; }

.cy-code-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 18px 14px;
  font-family: ui-monospace, monospace;
  font-size: 11px;
  color: #94a3b8;
  border-top: 1px solid rgba(99, 102, 241, 0.2);
  background: rgba(15, 23, 42, 0.5);
}

/* 悬浮提示卡 */
.cy-float-card {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(129, 140, 248, 0.35);
  backdrop-filter: blur(12px);
  box-shadow:
    0 8px 24px rgba(79, 70, 229, 0.15),
    0 16px 40px rgba(15, 23, 42, 0.08);
  animation: cy-float-drift 5s ease-in-out infinite;
}

@keyframes cy-float-drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.cy-float-card--speed {
  right: -52px;
  bottom: 22px;
  animation-delay: 0.5s;
}

.cy-float-card--agent {
  left: -58px;
  top: 50px;
  border-color: rgba(167, 139, 250, 0.5);
}

.cy-float-card-icon {
  font-size: 26px;
  line-height: 1;
}

.cy-float-card-icon--ai {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  background: var(--cy-gradient);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

.cy-float-card strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--cy-text);
  line-height: 1.25;
}

.cy-float-card span {
  font-size: 13px;
  color: var(--cy-text-muted);
}

/* Section common */
.cy-section {
  padding: 80px 0;
}

.cy-section-alt {
  background: var(--cy-bg-soft);
}

.cy-section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.cy-section-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--cy-primary);
  background: rgba(37, 99, 235, 0.08);
  margin-bottom: 12px;
}

.cy-section-head h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--cy-text);
}

.cy-section-head p {
  margin: 0;
  font-size: 16px;
  color: var(--cy-text-muted);
  line-height: 1.7;
}

/* Services — 魔方布局：左 AI 竖列 + 右四宫格 */
.cy-services-section {
  position: relative;
  padding: 96px 0 104px;
  overflow: hidden;
}

.cy-services-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #f0f4ff 0%, #ffffff 50%, #f8fafc 100%);
  pointer-events: none;
}

.cy-services-bg::before {
  content: '';
  position: absolute;
  width: 480px;
  height: 480px;
  top: -120px;
  left: -100px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.cy-services-section .container {
  position: relative;
  z-index: 1;
  max-width: 1280px;
}

.cy-section-head--wide {
  max-width: 720px;
}

.cy-section-head--wide h2 {
  font-size: clamp(30px, 3.5vw, 40px);
}

.cy-services-path {
  text-align: center;
  margin: 0 auto 36px;
  font-size: 15px;
  font-weight: 600;
  color: var(--cy-text-muted);
  letter-spacing: 0.04em;
}

.cy-services-path span {
  display: inline;
}

.cy-path-arrow {
  margin: 0 10px;
  color: #94a3b8;
  font-weight: 400;
}

.cy-path-active {
  color: #fff;
  background: var(--cy-gradient);
  padding: 6px 16px;
  border-radius: 999px;
  margin-left: 4px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

/* 魔方主栅格 — 左右等高，底部对齐 */
.cy-services-magic {
  display: grid;
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

/* 左侧 AI 竖列大卡 */
.cy-service-card--featured {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  padding: 32px 28px 28px;
  box-sizing: border-box;
  border-radius: 20px;
  border: none;
  color: #fff;
  background: linear-gradient(165deg, #4f46e5 0%, #2563eb 48%, #7c3aed 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 20px 50px rgba(79, 70, 229, 0.28);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cy-service-card--featured:hover {
  transform: translateY(-6px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.15) inset,
    0 28px 60px rgba(79, 70, 229, 0.35);
}

.cy-service-card--featured h3 {
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 700;
  margin: 0 0 14px;
  line-height: 1.25;
  color: #fff;
}

.cy-service-card--featured p {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 16px;
  flex: none;
}

.cy-service-tag--light {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.cy-service-icon--lg {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin-bottom: 22px;
  background: rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.cy-service-icon--lg svg {
  width: 32px;
  height: 32px;
}

.cy-service-points {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  flex: none;
}

.cy-service-points li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
}

.cy-service-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #86efac;
}

.cy-service-btn {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: auto;
  flex-shrink: 0;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cy-service-btn--light {
  color: #1e3a8a;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.cy-service-btn--light:hover {
  transform: translateY(-2px);
  color: #1d4ed8;
}

/* 右侧 2×2 魔方 */
.cy-services-cube {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 20px;
  min-height: 100%;
  height: 100%;
}

a.cy-service-card--cube {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.cy-service-card--cube {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--cy-border);
  border-radius: 16px;
  padding: 26px 24px 22px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.cy-service-card--cube::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--svc-accent, var(--cy-primary));
}

.cy-service-card--cube:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
  border-color: rgba(37, 99, 235, 0.2);
}

.cy-service-hot {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  padding: 4px 10px;
  border-radius: 6px;
}

.cy-service-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--cy-primary);
  background: rgba(37, 99, 235, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
  width: fit-content;
}

.cy-service-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  flex-shrink: 0;
}

.cy-service-icon svg {
  width: 24px;
  height: 24px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
}

.cy-service-card--cube h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--cy-text);
}

.cy-service-card--cube p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--cy-text-muted);
  margin: 0 0 14px;
  flex: 1;
}

.cy-service-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--cy-primary);
  text-decoration: none;
  margin-top: auto;
}

.cy-service-card--cube:hover .cy-service-link {
  color: var(--cy-primary-dark);
}

/* Why choose */
.cy-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cy-why-card {
  background: #fff;
  border: 1px solid var(--cy-border);
  border-radius: 12px;
  padding: 24px;
  position: relative;
  transition: box-shadow 0.2s;
}

.cy-why-card:hover {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.cy-why-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 8px;
  padding-right: 40px;
}

.cy-why-line {
  width: 32px;
  height: 3px;
  background: var(--cy-primary);
  border-radius: 2px;
  margin-bottom: 12px;
}

.cy-why-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--cy-text-muted);
  margin: 0;
}

.cy-why-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  color: var(--cy-primary);
  opacity: 0.85;
}

.cy-why-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

/* News */
.cy-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cy-news-card {
  background: #fff;
  border: 1px solid var(--cy-border);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.cy-news-card:hover {
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.cy-news-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.cy-news-thumb {
  aspect-ratio: 16/9;
  background: var(--cy-bg-soft);
  overflow: hidden;
}

.cy-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cy-news-thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 13px;
  color: var(--cy-text-muted);
  background: linear-gradient(135deg, #eff6ff, #f5f3ff);
}

.cy-news-body {
  padding: 18px 20px 20px;
}

.cy-news-date {
  font-size: 12px;
  color: var(--cy-text-muted);
  margin-bottom: 8px;
}

.cy-news-body h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
  line-height: 1.4;
  color: var(--cy-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cy-news-body p {
  font-size: 13px;
  color: var(--cy-text-muted);
  margin: 0;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cy-news-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px;
  color: var(--cy-text-muted);
  background: var(--cy-bg-soft);
  border-radius: 12px;
}

/* Contact CTA — 与首页浅色科技风一致 */
.cy-contact {
  position: relative;
  padding: 80px 0;
  background: linear-gradient(165deg, #f0f4ff 0%, #eef4ff 50%, #f8fafc 100%);
  color: var(--cy-text);
  text-align: center;
  overflow: hidden;
  border-top: 1px solid var(--cy-border);
}

.cy-contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 18% 50%, rgba(37, 99, 235, 0.07) 0%, transparent 48%),
    radial-gradient(circle at 82% 50%, rgba(124, 58, 237, 0.05) 0%, transparent 42%);
  pointer-events: none;
}

.cy-contact .container {
  position: relative;
  z-index: 1;
}

.cy-contact h2 {
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 700;
  color: #1e3a8a;
  margin: 0 0 12px;
}

.cy-contact p {
  margin: 0 0 28px;
  font-size: 16px;
  color: var(--cy-text-muted);
  line-height: 1.7;
}

.cy-contact .cy-btn-primary {
  padding: 14px 32px;
  font-size: 16px;
}

.cy-contact-phone {
  margin-top: 20px;
  font-size: 22px;
  font-weight: 700;
}

.cy-contact-phone a {
  color: var(--cy-primary);
  text-decoration: none;
}

.cy-contact-phone a:hover {
  color: var(--cy-primary-dark);
}

/* Responsive */
@media (max-width: 992px) {
  .cy-company-home .container {
    padding: 0 16px;
  }

  .cy-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .cy-hero-copy {
    width: 100%;
  }

  .cy-hero-desc {
    max-width: 100%;
    font-size: 15px;
  }

  .cy-hero {
    overflow-x: clip;
    overflow-y: visible;
  }

  .cy-hero-visual {
    order: -1;
    padding: 0 0 28px;
    overflow: visible;
    width: 100%;
    max-width: 100%;
    position: relative;
  }

  /* 移动端光晕：铺满并向下延伸，用 mask 羽化边缘，避免矩形裁切硬线 */
  .cy-hero-visual::before {
    content: '';
    position: absolute;
    left: -12%;
    right: -12%;
    top: -8%;
    bottom: -55%;
    width: auto;
    height: auto;
    transform: none;
    background: radial-gradient(
      ellipse 72% 58% at 50% 38%,
      rgba(99, 102, 241, 0.24) 0%,
      rgba(99, 102, 241, 0.14) 28%,
      rgba(79, 70, 229, 0.06) 48%,
      rgba(37, 99, 235, 0.02) 62%,
      transparent 76%
    );
    -webkit-mask-image: radial-gradient(
      ellipse 78% 68% at 50% 42%,
      #000 0%,
      #000 42%,
      rgba(0, 0, 0, 0.55) 62%,
      transparent 78%
    );
    mask-image: radial-gradient(
      ellipse 78% 68% at 50% 42%,
      #000 0%,
      #000 42%,
      rgba(0, 0, 0, 0.55) 62%,
      transparent 78%
    );
    pointer-events: none;
    z-index: 0;
  }

  .cy-ai-showcase {
    position: relative;
    z-index: 1;
    max-width: 100%;
    min-height: 0;
    padding-bottom: 8px;
    overflow: hidden;
  }

  .cy-ai-glow,
  .cy-ai-ring {
    display: none;
  }

  .cy-code-panel {
    width: 100%;
    max-width: 100%;
    margin: 20px 0 0;
    border-radius: 16px;
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.06) inset,
      0 12px 28px rgba(79, 70, 229, 0.18);
    filter: drop-shadow(0 10px 24px rgba(79, 70, 229, 0.12));
  }

  .cy-code-body code {
    white-space: pre-wrap;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .cy-ai-showcase:hover .cy-code-panel {
    transform: none;
  }

  .cy-code-header {
    padding: 10px 12px;
    gap: 8px;
  }

  .cy-code-title {
    font-size: 11px;
    min-width: 0;
  }

  .cy-code-status {
    font-size: 10px;
    padding: 3px 8px;
    gap: 4px;
  }

  .cy-code-body {
    padding: 14px 12px 12px;
    font-size: 11px;
    line-height: 1.65;
  }

  .cy-code-footer {
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 12px 10px;
    font-size: 10px;
  }

  .cy-float-card {
    padding: 8px 10px;
    gap: 8px;
    border-radius: 10px;
    max-width: 58%;
  }

  .cy-float-card--agent {
    left: 6px;
    top: 44px;
  }

  .cy-float-card--speed {
    right: 6px;
    left: auto;
    bottom: 10px;
  }

  .cy-float-card-icon {
    font-size: 20px;
  }

  .cy-float-card-icon--ai {
    width: 36px;
    height: 36px;
    font-size: 11px;
    border-radius: 8px;
  }

  .cy-float-card strong {
    font-size: 12px;
  }

  .cy-float-card span {
    font-size: 11px;
    line-height: 1.3;
  }

  .cy-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cy-news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cy-services-magic {
    grid-template-columns: 1fr;
  }

  .cy-services-cube {
    min-height: 0;
  }
}

@media (max-width: 900px) {
  .cy-services-cube {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
}

@media (max-width: 640px) {
  .cy-company-home .container {
    padding: 0 14px;
  }

  .cy-hero {
    padding: 40px 0 48px;
  }

  .cy-hero h1 {
    font-size: clamp(26px, 7vw, 32px);
  }

  .cy-hero-desc {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 22px;
  }

  .cy-hero-actions {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 28px;
  }

  .cy-hero-actions .cy-btn {
    width: 100%;
    box-sizing: border-box;
  }

  .cy-hero-stat {
    flex: 1 1 calc(33.333% - 8px);
    min-width: 0;
    padding: 0 6px;
    border-right: none;
    text-align: center;
    margin-bottom: 12px;
  }

  .cy-hero-stat strong {
    font-size: 22px;
  }

  .cy-hero-stat span {
    font-size: 12px;
  }

  .cy-hero-stats {
    border-top: none;
    padding-top: 0;
  }

  .cy-section {
    padding: 56px 0;
  }

  .cy-why-grid,
  .cy-news-grid {
    grid-template-columns: 1fr;
  }

  .cy-ai-showcase {
    max-width: 100%;
    min-height: 0;
  }

  .cy-code-header {
    padding: 8px 10px;
  }

  .cy-code-status {
    display: none;
  }

  .cy-code-body {
    font-size: 10.5px;
    padding: 12px 10px 10px;
  }

  .cy-float-card {
    max-width: 52%;
    padding: 6px 8px;
  }

  .cy-float-card--agent {
    top: 38px;
    left: 4px;
  }

  .cy-float-card--speed {
    right: 4px;
    bottom: 8px;
  }

  .cy-float-card strong {
    font-size: 11px;
  }

  .cy-float-card span {
    font-size: 10px;
  }

  .cy-services-section {
    padding: 64px 0 72px;
  }

  .cy-service-card--featured {
    padding: 28px 24px;
  }

  .cy-services-cube {
    gap: 16px;
  }
}

/* 工贸Agent：工厂 AI 场景 */
.cy-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
}
.cy-hero-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #3730a3;
  background: rgba(79, 70, 229, 0.08);
  border: 1px solid rgba(79, 70, 229, 0.18);
}
.cy-scenes-section {
  background: #f8fafc;
}
.cy-scenes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.cy-scene-card {
  scroll-margin-top: 88px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px 22px 22px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}
.cy-scene-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #0f766e;
  background: #ccfbf1;
  border-radius: 999px;
  padding: 3px 8px;
  margin-bottom: 10px;
}
.cy-scene-card h3 {
  margin: 0 0 6px;
  font-size: 22px;
  color: #0f172a;
}
.cy-scene-lead {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
}
.cy-scene-dl {
  margin: 0;
}
.cy-scene-dl > div {
  padding: 10px 0;
  border-top: 1px solid #f1f5f9;
}
.cy-scene-dl dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #64748b;
  margin-bottom: 4px;
}
.cy-scene-dl dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #1e293b;
}
.cy-scene-example {
  margin: 14px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #eef2ff;
  color: #312e81;
  font-size: 13px;
  line-height: 1.6;
}
@media (max-width: 992px) {
  .cy-scenes-grid {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 993px) and (max-width: 1200px) {
  .cy-scenes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
