/* ============================================
   页面组件样式 - Blueprint工业控制台
   ============================================ */

/* ========== Hero Section ========== */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  color: #f8fbff;
  overflow: hidden;
  padding: var(--spacing-4xl) 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 12% 20%, rgba(124, 199, 255, 0.25), transparent 26%),
              radial-gradient(circle at 82% 12%, rgba(241, 196, 15, 0.16), transparent 30%);
  opacity: 0.6;
  pointer-events: none;
}

.hero-blueprint {
  background: linear-gradient(135deg, #0d1f33, #0b1829 52%, #0f2238);
}

.blueprint-grid-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(61, 106, 153, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 106, 153, 0.22) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.3;
  animation: grid-pulse 6s ease-in-out infinite;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-shell { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--spacing-3xl); align-items: center; }

.hero-panel {
  background: rgba(16, 44, 75, 0.75);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--spacing-2xl);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(6px);
}

.hero-panel .panel-header { border-bottom: 1px solid var(--color-border); padding-bottom: var(--spacing-md); margin-bottom: var(--spacing-lg); color: #d7e6f5; }
.hero-panel h1 { color: #fdfdfd; margin-bottom: var(--spacing-lg); letter-spacing: 0.6px; }
.hero-panel p { color: rgba(232, 238, 245, 0.82); font-size: var(--font-size-lg); }

.hero-badges { display: flex; gap: var(--spacing-md); flex-wrap: wrap; margin-top: var(--spacing-lg); }
.hero-badges .chip { background: rgba(124, 199, 255, 0.22); border-color: rgba(124, 199, 255, 0.45); color: #fdfdfd; }

.hero-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--spacing-md); margin-top: var(--spacing-lg); }
.hero-metrics .metric { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.18); color: white; }

.hero-buttons { display: flex; gap: var(--spacing-md); margin-top: var(--spacing-xl); flex-wrap: wrap; }
.hero .btn-outline { border-color: rgba(255, 255, 255, 0.6); color: white; }
.hero .btn-outline:hover { background: rgba(255, 255, 255, 0.08); }

.hero-visual {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  border: 1px solid rgba(124, 199, 255, 0.26);
  background: rgba(0, 0, 0, 0.28);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

.hero-visual img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.95; }

.hero-status-bar { display: flex; gap: var(--spacing-lg); flex-wrap: wrap; margin-bottom: var(--spacing-xl); }
.status-item { display: flex; align-items: center; gap: var(--spacing-sm); padding: var(--spacing-sm) var(--spacing-md); border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--color-border); }
.status-item .label { color: var(--color-text-muted); font-size: var(--font-size-sm); }
.status-item .value { color: #fdfdfd; font-weight: 700; font-family: var(--font-family-mono); letter-spacing: 0.8px; }

.hero-compact { min-height: 380px; }
.hero-compact .hero-shell { grid-template-columns: 1fr; }
.hero-compact .hero-visual { display: none; }

@media (max-width: 1024px) { .hero-shell { grid-template-columns: 1fr; } }
@media (max-width: 768px) { .hero { min-height: 420px; padding: var(--spacing-3xl) 0; } .hero-visual { order: -1; } }

/* ========== Section Heading ========== */
.section-header { position: relative; text-align: center; margin-bottom: var(--spacing-3xl); max-width: 760px; margin-left: auto; margin-right: auto; }
.section-title { display: inline-flex; align-items: center; gap: var(--spacing-md); font-size: var(--font-size-4xl); position: relative; }
.section-title::after { content: ''; display: inline-block; width: 90px; height: 3px; background: linear-gradient(90deg, #7cc7ff, transparent); }
.section-subtitle { font-size: var(--font-size-lg); color: var(--color-text-faint); margin-top: var(--spacing-md); }

/* ========== 服务矩阵 ========== */
.service-matrix { background: rgba(16, 37, 60, 0.8); border: 1px solid var(--color-border); border-radius: var(--radius-2xl); padding: var(--spacing-3xl); box-shadow: var(--shadow-md); }
.service-matrix .panel-header { border-bottom: 1px solid var(--color-border); }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--spacing-lg); }

.service-module {
  position: relative;
  background: linear-gradient(160deg, rgba(15, 33, 55, 0.95), rgba(20, 47, 76, 0.85));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  overflow: hidden;
}

.service-module::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 60px; height: 60px;
  background: radial-gradient(circle, rgba(124, 199, 255, 0.28), transparent 58%);
  opacity: 0.6;
}

.service-module:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(124, 199, 255, 0.65); }
.module-top { display: flex; align-items: center; justify-content: space-between; gap: var(--spacing-md); margin-bottom: var(--spacing-md); }
.module-icon { width: 42px; height: 42px; display: grid; place-items: center; background: rgba(124, 199, 255, 0.12); border: 1px solid rgba(124, 199, 255, 0.35); border-radius: 12px; font-size: 22px; color: #f5f9ff; }
.module-title { font-size: var(--font-size-xl); color: #fdfdfd; margin-bottom: var(--spacing-sm); }
.module-desc { color: var(--color-text-muted); margin-bottom: var(--spacing-md); }
.module-meta { display: flex; align-items: center; gap: var(--spacing-sm); color: var(--color-text-faint); font-size: var(--font-size-sm); }
.module-footer { display: flex; align-items: center; justify-content: space-between; margin-top: var(--spacing-md); }
.module-footer .badge { background: rgba(241, 196, 15, 0.1); color: #f1c40f; }

/* ========== 系统流程与架构 ========== */
.process-panel { background: rgba(16, 37, 60, 0.86); border: 1px solid var(--color-border); border-radius: var(--radius-2xl); padding: var(--spacing-3xl); box-shadow: var(--shadow-md); }
.process-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--spacing-2xl); align-items: center; }
.process-steps { list-style: none; padding: 0; margin: var(--spacing-lg) 0; color: var(--color-text-muted); }
.process-steps li { display: flex; gap: var(--spacing-md); padding: var(--spacing-md) 0; border-bottom: 1px dashed var(--color-border); }
.process-steps li:last-child { border-bottom: none; }
.step-icon { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: rgba(124, 199, 255, 0.16); color: #fdfdfd; font-family: var(--font-family-mono); }
.cert-badges { display: flex; flex-wrap: wrap; gap: var(--spacing-sm); margin-top: var(--spacing-md); }
.cert-badges .badge { background: rgba(255, 255, 255, 0.06); border: 1px solid var(--color-border); }
.process-visual { border: 1px solid var(--color-border); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); background: rgba(0, 0, 0, 0.25); }
.process-visual img { width: 100%; display: block; }

/* ========== 仪表盘优势 ========== */
.gauge-dashboard { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--spacing-lg); margin-top: var(--spacing-lg); }
.gauge-card { background: linear-gradient(160deg, rgba(75, 126, 217, 0.12), rgba(30, 58, 95, 0.12)); border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: var(--spacing-xl); text-align: center; box-shadow: var(--shadow-sm); }
.circular-gauge { width: 126px; height: 126px; border-radius: 50%; margin: 0 auto var(--spacing-md); border: 8px solid rgba(124, 199, 255, 0.16); display: grid; place-items: center; position: relative; }
.circular-gauge .gauge-ring { stroke: rgba(124, 199, 255, 0.25); stroke-width: 8; fill: none; }
.circular-gauge .gauge-fill { stroke: #f1c40f; stroke-width: 8; stroke-linecap: round; fill: none; stroke-dasharray: 283; stroke-dashoffset: 283; transform: rotate(-90deg); transform-origin: center; animation: gauge-fill 2.4s ease-out forwards; }
.gauge-value { font-size: 28px; font-weight: 700; color: #fdfdfd; }
.gauge-label { color: var(--color-text-muted); font-size: var(--font-size-sm); letter-spacing: 0.4px; }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--spacing-lg); margin-top: var(--spacing-2xl); }
.feature-card { position: relative; text-align: left; padding: var(--spacing-2xl); background: linear-gradient(145deg, rgba(16, 39, 66, 0.92), rgba(14, 33, 55, 0.92)); border: 1px solid var(--color-border); border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); overflow: hidden; transition: all var(--transition-base); }
.feature-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(124, 199, 255, 0.16), transparent 40%); opacity: 0; transition: opacity var(--transition-base); }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(124, 199, 255, 0.6); }
.feature-card:hover::before { opacity: 1; }
.feature-icon { width: 54px; height: 54px; display: inline-flex; align-items: center; justify-content: center; background: rgba(124, 199, 255, 0.14); border: 1px solid rgba(124, 199, 255, 0.35); border-radius: 14px; font-size: 26px; color: #f1c40f; margin-bottom: var(--spacing-lg); }

/* ========== 案例 ========== */
.case-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--spacing-lg); }
.case-card { border: 1px solid var(--color-border); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-sm); background: linear-gradient(160deg, rgba(16, 37, 60, 0.92), rgba(13, 29, 50, 0.92)); display: flex; flex-direction: column; }
.case-card img { width: 100%; height: 190px; object-fit: cover; }
.case-card .card-body { padding: var(--spacing-xl); }
.metrics { display: flex; gap: var(--spacing-sm); flex-wrap: wrap; }
.case-card .metrics { display: flex; gap: var(--spacing-sm); flex-wrap: wrap; }
.case-card .badge { background: rgba(241, 196, 15, 0.12); color: #f1c40f; border: 1px solid rgba(241, 196, 15, 0.35); }

.partner-cta-card { margin-top: var(--spacing-2xl); padding: var(--spacing-3xl); border-radius: var(--radius-2xl); background: linear-gradient(135deg, rgba(16, 37, 60, 0.9), rgba(12, 26, 45, 0.92)); border: 1px solid rgba(124, 199, 255, 0.35); box-shadow: var(--shadow-md); text-align: left; position: relative; overflow: hidden; }
.partner-cta-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(124, 199, 255, 0.12), transparent 50%); pointer-events: none; }

/* ========== 新闻卡片 ========== */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--spacing-lg); }
.news-panel-card { background: linear-gradient(160deg, rgba(16, 37, 60, 0.92), rgba(13, 29, 50, 0.92)); border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: var(--spacing-xl); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: var(--spacing-md); }
.news-panel-card .card-header { border: none; padding: 0; margin: 0 0 var(--spacing-sm) 0; }
.news-panel-card h4 { margin: 0 0 var(--spacing-sm) 0; color: #fdfdfd; }
.news-panel-card p { margin: 0 0 var(--spacing-sm) 0; }
.news-panel-card .date { color: var(--color-text-faint); font-size: var(--font-size-sm); }

/* ========== CTA / 表单 / 面包屑 ========== */
.cta-card { text-align: center; background: linear-gradient(135deg, rgba(16, 44, 75, 0.9), rgba(12, 28, 48, 0.9)); border: 1px solid rgba(124, 199, 255, 0.35); border-radius: var(--radius-2xl); padding: var(--spacing-3xl); box-shadow: var(--shadow-sm); }

.blueprint-cta { position: relative; overflow: hidden; background: linear-gradient(180deg, #0f1f33, #0b1829); color: #fdfdfd; }
.blueprint-cta .blueprint-grid-overlay { opacity: 0.4; }
.blueprint-cta .btn-industrial { margin-top: var(--spacing-lg); }

.form-group { margin-bottom: var(--spacing-xl); }
label { display: block; margin-bottom: var(--spacing-sm); color: #fdfdfd; font-weight: 600; }
input[type="text"], input[type="email"], input[type="phone"], input[type="date"], textarea, select {
  width: 100%;
  padding: var(--spacing-md) var(--spacing-lg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: rgba(16, 37, 60, 0.7);
  color: #fdfdfd;
  font-family: var(--font-family-primary);
  font-size: var(--font-size-base);
  transition: all var(--transition-base);
}
input:focus, textarea:focus, select:focus { outline: none; border-color: #7cc7ff; box-shadow: 0 0 0 3px rgba(124, 199, 255, 0.18); }
textarea { resize: vertical; min-height: 140px; }

.breadcrumb { display: flex; align-items: center; gap: var(--spacing-md); padding: var(--spacing-lg) 0; font-size: var(--font-size-sm); color: var(--color-text-faint); }
.breadcrumb a { color: #9dd6ff; }
.breadcrumb-separator { color: var(--color-text-muted); }

/* ========== 页脚 ========== */
.footer { background: #0c1929; color: white; padding: var(--spacing-2xl) var(--spacing-lg) var(--spacing-lg); margin-top: var(--spacing-3xl); position: relative; }
.footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, #7cc7ff, transparent); }
.footer-content { max-width: var(--container-max-width); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--spacing-xl); margin-bottom: var(--spacing-xl); padding-bottom: var(--spacing-xl); border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.footer-column h4 { color: white; margin-bottom: var(--spacing-lg); font-size: var(--font-size-lg); }
.footer-column ul { list-style: none; padding: 0; margin: 0; }
.footer-column li { margin-bottom: var(--spacing-md); }
.footer-column a { color: rgba(255, 255, 255, 0.72); text-decoration: none; transition: color var(--transition-fast); }
.footer-column a:hover { color: white; text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: var(--font-size-sm); color: rgba(255, 255, 255, 0.72); }
.footer-social { display: flex; gap: var(--spacing-lg); }
.footer-social a { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.08); border-radius: var(--radius-md); color: white; transition: all var(--transition-fast); }
.footer-social a:hover { background: #7cc7ff; color: #0b1829; transform: translateY(-2px); }

/* ========== 列表、标签页、时间线 ========== */
.list-item { padding: var(--spacing-lg) 0; border-bottom: 1px dashed var(--color-border); display: flex; justify-content: space-between; gap: var(--spacing-lg); color: var(--color-text-muted); }
.list-item:hover { background: rgba(124, 199, 255, 0.05); }
.list-item-title { font-weight: 700; color: #fdfdfd; }
.list-item-desc { color: var(--color-text-faint); font-size: var(--font-size-sm); }

.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ''; position: absolute; left: 10px; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, #7cc7ff, rgba(124, 199, 255, 0)); }
.timeline .list-item { position: relative; }
.timeline .list-item::before { content: ''; position: absolute; left: -24px; top: 10px; width: 12px; height: 12px; border-radius: 50%; background: #7cc7ff; box-shadow: 0 0 0 8px rgba(124, 199, 255, 0.16); }

.tabs { display: flex; gap: var(--spacing-md); border-bottom: 2px solid var(--color-border); margin-bottom: var(--spacing-2xl); }
.tab-button { background: none; border: none; padding: var(--spacing-lg) var(--spacing-xl); border-bottom: 3px solid transparent; color: var(--color-text-faint); font-weight: 600; cursor: pointer; transition: all var(--transition-fast); }
.tab-button.active { color: #fdfdfd; border-bottom-color: #7cc7ff; }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ========== 提示与状态 ========== */
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.spinner { width: 20px; height: 20px; border: 3px solid var(--color-border); border-top-color: #7cc7ff; border-radius: 50%; animation: spin 0.8s linear infinite; }
.alert { padding: var(--spacing-lg); border-radius: var(--radius-lg); margin-bottom: var(--spacing-lg); border-left: 4px solid; background: rgba(16, 37, 60, 0.9); }
.alert-success { border-color: var(--color-accent-2); background: rgba(39, 174, 96, 0.14); color: #c9f3df; }
.alert-warning { border-color: var(--color-accent); background: rgba(241, 196, 15, 0.14); color: #f5d879; }
.alert-error { border-color: #e74c3c; background: rgba(231, 76, 60, 0.14); color: #f0b2ab; }
.alert-info { border-color: #7cc7ff; background: rgba(124, 199, 255, 0.14); color: #d7eaff; }

/* ========== 响应式 ========== */
@media (max-width: 1024px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } .process-layout { grid-template-columns: 1fr; } }
@media (max-width: 768px) {
  .section { padding: var(--spacing-3xl) 0; }
  .section-title { font-size: var(--font-size-3xl); }
  .hero-shell { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: var(--spacing-lg); text-align: center; }
}
