/* ===== DYY PAGE SPECIFIC STYLES ===== */

/* Banner */
.dyy-banner {
  position: relative;
  background: linear-gradient(135deg, #0d1117 0%, #1a1030 50%, #0a1a2a 100%);
  padding: 80px 0;
  overflow: hidden;
}
.dyy-banner-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(254,44,85,0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 30%, rgba(37,244,238,0.08) 0%, transparent 50%);
}
.dyy-banner-content {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 60px;
}
.dyy-banner-text { flex: 1; color: #fff; }
.dyy-badge {
  display: inline-block; padding: 5px 14px;
  background: linear-gradient(90deg, rgba(254,44,85,0.3), rgba(254,44,85,0.1));
  border: 1px solid rgba(254,44,85,0.4);
  border-radius: 20px; font-size: 13px; color: #ff6b8a;
  margin-bottom: 16px;
}
.dyy-banner-text h1 {
  font-size: 44px; font-weight: 900; line-height: 1.15; margin-bottom: 14px;
  background: linear-gradient(90deg, #fff 0%, #25f4ee 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.dyy-banner-text > p { font-size: 17px; color: rgba(255,255,255,0.7); margin-bottom: 32px; }
.dyy-stats { display: flex; gap: 40px; margin-bottom: 36px; }
.stat-item { display: flex; flex-direction: column; }
.stat-num { font-size: 32px; font-weight: 900; color: var(--primary); line-height: 1; }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 4px; }
.dyy-banner-btns { display: flex; gap: 14px; }
.dyy-banner-btns .btn-primary { width: auto; padding: 13px 28px; }
.btn-ghost {
  padding: 13px 28px; border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,0.3); color: rgba(255,255,255,0.85);
  background: transparent; cursor: pointer; font-size: 15px; font-weight: 500;
  transition: var(--transition);
}
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* Live Ticker */
.live-ticker-card {
  width: 320px; flex-shrink: 0;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 24px;
}
.ticker-header {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: rgba(255,255,255,0.8); margin-bottom: 16px; font-weight: 600;
}
.ticker-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #4caf50;
  box-shadow: 0 0 6px #4caf50;
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; } 50% { opacity: 0.4; }
}
/* 裁剪窗口 — overflow:hidden 留在这里不动 */
.ticker-window {
  height: 140px; overflow: hidden; margin-bottom: 16px;
}
/* 滚动列表 — transform 作用在这里 */
.ticker-list {
  transition: transform 0.5s ease;
}
.ticker-item {
  padding: 10px 0; font-size: 13px; color: rgba(255,255,255,0.65);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ticker-item b { color: var(--accent); }
.ticker-form { display: flex; gap: 8px; }
.ticker-form input {
  flex: 1; padding: 10px 12px; border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.08);
  color: #fff; font-size: 13px; outline: none;
}
.ticker-form input::placeholder { color: rgba(255,255,255,0.4); }
.ticker-form input:focus { border-color: var(--primary); }
.ticker-form .btn-primary {
  width: auto; padding: 10px 16px; font-size: 13px;
  white-space: nowrap;   /* 防止文字换行 */
  flex-shrink: 0;
}

/* Services */
.dyy-services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.dyy-service-card {
  background: #fff; border-radius: var(--radius);
  padding: 24px 20px; border: 1.5px solid var(--border);
  box-shadow: var(--shadow); transition: var(--transition);
  display: flex; gap: 16px; align-items: flex-start;
}
.dyy-service-card:hover {
  border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow-hover);
}
.dyy-service-icon {
  width: 48px; height: 48px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.dyy-service-body h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.dyy-service-body ul { display: flex; flex-direction: column; gap: 4px; }
.dyy-service-body li { font-size: 12px; color: var(--text-muted); padding-left: 10px; position: relative; }
.dyy-service-body li::before { content: '·'; position: absolute; left: 0; color: var(--primary); }

/* Strategy */
.strategy-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.strategy-card {
  background: #fff; border-radius: var(--radius);
  padding: 36px 28px; text-align: center;
  border: 1.5px solid var(--border); box-shadow: var(--shadow);
  transition: var(--transition);
}
.strategy-card.center-card {
  background: #fff;
  color: inherit; border-color: var(--border);
  transform: scale(1.03);
}
.strategy-card:hover,
.strategy-card.center-card:hover {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
  color: #fff; border-color: transparent;
  transform: translateY(-4px) scale(1.04); box-shadow: var(--shadow-hover);
}
.strategy-card:hover h3, .strategy-card:hover p,
.strategy-card.center-card:hover h3, .strategy-card.center-card:hover p { color: #fff !important; }
.strategy-icon { font-size: 40px; margin-bottom: 16px; }
.strategy-card h3 { font-size: 20px; margin-bottom: 14px; }
.strategy-card p { font-size: 14px; line-height: 1.7; }

/* Cert */
.cert-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px;
}
.cert-card {
  background: #fff; border-radius: var(--radius);
  padding: 24px 12px; text-align: center;
  border: 1.5px solid var(--border); box-shadow: var(--shadow);
  transition: var(--transition);
}
.cert-card:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.cert-badge { font-size: 28px; margin-bottom: 10px; }
.cert-card h5 { font-size: 12px; color: var(--text-muted); line-height: 1.4; }

/* Team */
.team-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.team-card {
  background: #fff; border-radius: var(--radius);
  padding: 28px 20px; border: 1.5px solid var(--border);
  box-shadow: var(--shadow); transition: var(--transition);
  display: flex; flex-direction: column; gap: 14px;
}
.team-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.team-avatar {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; font-size: 22px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.team-info h4 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.team-tag {
  display: inline-block; padding: 2px 8px;
  background: #fff0f3; color: var(--primary);
  border-radius: 4px; font-size: 11px; font-weight: 600; margin-bottom: 10px;
}
.team-info p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.team-info p b { color: var(--primary); }

/* Cases */
.cases-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.case-item {
  background: #fff; border-radius: var(--radius);
  padding: 28px 24px; border: 1.5px solid var(--border);
  box-shadow: var(--shadow); transition: var(--transition);
}
.case-item:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.case-industry {
  display: inline-block; padding: 4px 12px; border-radius: 6px;
  font-size: 13px; font-weight: 600; margin-bottom: 14px;
}
.case-growth {
  font-size: 36px; font-weight: 900; color: var(--primary);
  line-height: 1; margin-bottom: 12px;
}
.case-desc { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

/* Compare Table */
.compare-table {
  border-radius: var(--radius); overflow: hidden;
  border: 1.5px solid var(--border); box-shadow: var(--shadow);
}
.compare-header, .compare-row {
  display: grid; grid-template-columns: 1fr 1.5fr 1.5fr;
}
.compare-header {
  background: var(--dark); color: #fff;
}
.compare-header > div, .compare-row > div {
  padding: 16px 20px; font-size: 14px;
}
.compare-feature { font-weight: 600; }
.compare-header .compare-col { text-align: center; font-weight: 700; letter-spacing: 1px; }
.compare-row { background: #fff; border-top: 1px solid var(--border); }
.compare-row:hover { background: #fafafa; }
.compare-col { text-align: center; }
.compare-col.other { color: #999; }
.compare-col.hancong { color: #2e7d32; font-weight: 600; }
.compare-header .hancong { background: var(--primary); }

/* Process */
.dyy-process-steps {
  display: flex; align-items: center; gap: 0;
  background: #fff; border-radius: var(--radius);
  border: 1.5px solid var(--border); box-shadow: var(--shadow);
  overflow: hidden;
}
.dyy-process-item {
  flex: 1; padding: 32px 20px; cursor: pointer;
  transition: var(--transition); border-right: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 10px;
}
.dyy-process-item:last-child { border-right: none; }
.dyy-process-item:hover { background: #fff0f3; }
.dyy-process-item.active { background: var(--primary); color: #fff; }
.dyy-process-item.active .dyy-step-num { color: rgba(255,255,255,0.5); }
.dyy-process-item.active .dyy-step-content p { color: rgba(255,255,255,0.8); }
.dyy-step-num { font-size: 28px; font-weight: 900; color: var(--primary); line-height: 1; }
.dyy-process-item.active .dyy-step-num { color: rgba(255,255,255,0.5); }
.dyy-step-content h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.dyy-step-content p { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.dyy-process-arrow {
  font-size: 20px; color: #ccc; padding: 0 4px; flex-shrink: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .dyy-services-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .dyy-process-steps { flex-direction: column; }
  .dyy-process-arrow { transform: rotate(90deg); }
}
@media (max-width: 768px) {
  .dyy-banner-content { flex-direction: column; }
  .live-ticker-card { width: 100%; }
  .dyy-banner-text h1 { font-size: 30px; }
  .dyy-stats { gap: 24px; }
  .strategy-grid, .cases-grid { grid-template-columns: 1fr; }
  .compare-header, .compare-row { grid-template-columns: 1fr 1fr 1fr; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; }
}
