/* ============================================================
   home-v3.css — 中创智慧首页 v3（Moonshot 风格 · 黑底大字 · 红色电弧）
   仅用于 index-v3.html，叠加在 style.css 之上
   ============================================================ */

:root {
  --v3-red: #e60012;
  --v3-red-soft: rgba(230, 0, 18, 0.4);
  --v3-gray: rgba(255, 255, 255, 0.55);
  --v3-gray-dim: rgba(255, 255, 255, 0.35);
  --v3-line: rgba(255, 255, 255, 0.08);
}

body {
  background: #000;
}

/* ---------- Hero ---------- */
.v3-hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 0 80px;
}

/* Hero 背景：纯黑，无动态底纹（2026-09-12 用户决定取消背景效果） */

/* 红色电弧环（日蚀） */
.v3-eclipse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(64vw, 780px);
  aspect-ratio: 1;
  transform: translate(-50%, -56%);
  border-radius: 50%;
  pointer-events: none;
}

.v3-eclipse::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 210deg,
    transparent 0deg,
    transparent 250deg,
    rgba(230, 0, 18, 0.9) 305deg,
    rgba(255, 120, 110, 0.95) 330deg,
    rgba(230, 0, 18, 0.9) 355deg,
    transparent 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  filter: drop-shadow(0 0 18px rgba(230, 0, 18, 0.55));
  animation: v3-arc-spin 24s linear infinite;
}

.v3-eclipse::after {
  content: '';
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle at 68% 30%, rgba(230, 0, 18, 0.14), transparent 55%);
}

@keyframes v3-arc-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.v3-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 860px;
}

.v3-hero-title {
  font-size: clamp(2.5rem, 1.4rem + 5.5vw, 5.5rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.v3-hero-title .v3-red {
  background: linear-gradient(120deg, #ff4d4d, var(--v3-red) 60%, #8f000b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.v3-hero-tag {
  color: var(--v3-gray);
  font-size: clamp(0.9375rem, 0.9rem + 0.3vw, 1.125rem);
  margin-bottom: 56px;
}

/* 输入框式 CTA（Moonshot 招牌元素） */
.v3-askbox {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 640px;
  margin: 0 auto 28px;
  padding: 22px 28px;
  border-radius: 20px;
  border: 1px solid var(--v3-line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--v3-gray);
  font-size: 1rem;
  text-align: left;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.v3-askbox:hover {
  border-color: var(--v3-red-soft);
  background: rgba(230, 0, 18, 0.05);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.v3-ask-arrow {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  transition: var(--transition);
}

.v3-askbox:hover .v3-ask-arrow {
  background: var(--v3-red);
}

/* 药丸按钮 */
.v3-pills {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.v3-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 999px;
  border: 1px solid var(--v3-line);
  color: var(--text-primary);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: var(--transition);
}

.v3-pill:hover {
  border-color: var(--v3-red-soft);
  background: rgba(230, 0, 18, 0.08);
  transform: translateY(-2px);
}

.v3-pill.primary {
  background: var(--v3-red);
  border-color: var(--v3-red);
}

.v3-pill.primary:hover {
  box-shadow: 0 8px 30px rgba(230, 0, 18, 0.35);
}

/* ---------- 通用大标题版块 ---------- */
.v3-section {
  padding: clamp(56px, 6vw, 96px) 0;
}

/* #services 是导航「服务」按钮的目标 section，确保它至少占满一屏（减去 navbar 73px），
   这样点「服务」跳转后，下一个 section（软硬一体）不会被一起露出来，
   造成"两个页面拼一起"的视觉割裂。与 #products 同方案。 */
#services {
  min-height: calc(100vh - 73px);
  display: flex;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 24px;
}

#services + section {
  padding-top: 24px;
}

/* 锚点跳转时为固定导航栏留出高度由 style.css 的 html{scroll-padding-top:80px} 全局处理；
   此处不再单独设 scroll-margin-top，避免与 scroll-padding 叠加导致目标区上方出现 160px+ 空白 */

/* #products 是导航「产品」按钮的目标 section，确保它至少占满一屏（减去 navbar 73px），
   这样笔记本矮视口（≤657px 高）点「产品」跳转后，下一个 section（#services）
   不会被一起露出来，造成"两个页面拼一起"的视觉割裂。 */
#products {
  min-height: calc(100vh - 73px);
  display: flex;
  align-items: center;
}

/* #process 是导航「流程」按钮的目标 section，与 #products/#services 同方案：
   撑满一屏并垂直居中，避免底部 stats 数字带挤进同一视口造成松散割裂 */
#process {
  min-height: calc(100vh - 73px);
  display: flex;
  align-items: center;
}

.v3-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 24px;
}

.v3-section-head h2 {
  font-size: clamp(1.75rem, 1.2rem + 2.6vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.v3-section-head p {
  color: var(--v3-gray);
  font-size: 1rem;
}

/* ---------- 产品卡片（Moonshot 卡片行） ---------- */
.v3-card-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.v3-card {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--v3-line);
  background: rgba(255, 255, 255, 0.02);
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.v3-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
}

.v3-card-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.v3-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(35%) brightness(0.85);
  transition: var(--transition);
}

.v3-card:hover .v3-card-img img {
  filter: grayscale(0%) brightness(1);
  transform: scale(1.03);
}

.v3-card-body {
  padding: 24px 26px 28px;
}

.v3-card-meta {
  font-size: 0.8125rem;
  color: var(--v3-gray-dim);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.v3-card-name {
  font-size: 1.25rem;
  font-weight: 700;
}

/* ---------- 服务（极简四卡） ---------- */
.v3-svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.v3-svc {
  padding: 28px 22px 24px;
  border-top: 1px solid var(--v3-line);
  border-left: 1px solid var(--v3-line);
  border-radius: 0 0 12px 12px;
  position: relative;
  background: linear-gradient(180deg, rgba(230, 0, 18, 0.03), transparent 70%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.3s ease,
              box-shadow 0.3s ease,
              background 0.3s ease;
  display: flex;
  flex-direction: column;
}

.v3-svc::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--v3-red);
}

.v3-svc:hover {
  transform: translateY(-6px);
  border-color: rgba(230, 0, 18, 0.45);
  box-shadow: 0 12px 32px rgba(230, 0, 18, 0.12);
  background: linear-gradient(180deg, rgba(230, 0, 18, 0.08), transparent 70%);
}

.v3-svc-num {
  font-size: 3.25rem;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--v3-red);
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 16px;
  line-height: 1;
}

.v3-svc h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.v3-svc p {
  color: var(--v3-gray);
  font-size: 1.0625rem;
  line-height: 1.65;
}

/* 服务卡能力点 chip：margin-top:auto 沉底，4 卡 chips 起始位置对齐 */
.v3-svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--v3-line);
}

.v3-svc-tags span {
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--v3-gray);
  padding: 5px 12px;
  border: 1px solid var(--v3-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  transition: var(--transition);
}

.v3-svc:hover .v3-svc-tags span {
  border-color: rgba(230, 0, 18, 0.35);
  color: #fff;
}

/* 服务保障大数字块：视觉与流程页 stats 对齐（复用 .stat-number/.stat-suffix/.stat-label） */
.v3-svc-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  margin-top: 40px;
  padding: 28px 0 0;
  border-top: 1px solid var(--v3-line);
  background: radial-gradient(ellipse at center, rgba(230, 0, 18, 0.03) 0%, transparent 70%);
}

/* 服务页数字略小于流程页 stats，保证一屏放下 */
.v3-svc-stats .stat-number,
.v3-svc-stats .v3-stat-static {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
}

.v3-svc-stats .stat-suffix {
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
}

/* 统一数字行盒子：flex baseline 对齐，消除中文字形与数字的基线差
   （否则「7×24」「私有化」会比纯数字块整体偏上十几像素） */
.v3-svc-stats .stat-item > div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: center;
  min-height: 48px;
  line-height: 1;
}

/* 非数字型保障项（7×24 / 私有化）：样式复制 .stat-number，不参与计数动画 */
.v3-stat-static {
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--text-primary), var(--accent-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  display: inline-block;
}

@media (max-width: 768px) {
  .v3-svc-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 16px;
    margin-top: 32px;
  }
}

/* ---------- 硬件列表（mono 行） ---------- */
.v3-hw-list {
  border-top: 1px solid var(--v3-line);
}

.v3-hw-row {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  align-items: center;
  gap: 24px;
  padding: 28px 8px;
  border-bottom: 1px solid var(--v3-line);
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.v3-hw-row:hover {
  background: rgba(255, 255, 255, 0.02);
  padding-left: 20px;
}

.v3-hw-name {
  font-size: 1.25rem;
  font-weight: 700;
}

.v3-hw-spec {
  color: var(--v3-gray);
  font-size: 0.9375rem;
}

.v3-hw-arrow {
  color: var(--v3-gray-dim);
  transition: var(--transition);
}

.v3-hw-row:hover .v3-hw-arrow {
  color: var(--v3-red);
  transform: translateX(4px);
}

/* ---------- 流程（细线四步） ---------- */
.v3-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  counter-reset: step;
}

.v3-flow-item {
  padding: 28px 22px 24px;
  border-top: 1px solid var(--v3-line);
  border-left: 1px solid var(--v3-line);
  border-radius: 0 0 12px 12px;
  position: relative;
  background: linear-gradient(180deg, rgba(230, 0, 18, 0.03), transparent 70%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.3s ease,
              box-shadow 0.3s ease,
              background 0.3s ease;
}

.v3-flow-item::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--v3-red);
}

.v3-flow-item:hover {
  transform: translateY(-6px);
  border-color: rgba(230, 0, 18, 0.45);
  box-shadow: 0 12px 32px rgba(230, 0, 18, 0.12);
  background: linear-gradient(180deg, rgba(230, 0, 18, 0.08), transparent 70%);
}

.v3-flow-num {
  font-size: 3.25rem;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--v3-red);
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 16px;
  line-height: 1;
}

.v3-flow-item h3 {
  font-size: 1.75rem;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.v3-flow-item p {
  color: var(--v3-gray);
  font-size: 1.0625rem;
  line-height: 1.65;
}

/* ---------- 收尾大标语 ---------- */
.v3-final {
  text-align: center;
  padding: clamp(64px, 8vw, 120px) 0;
}

.v3-final h2 {
  font-size: clamp(2rem, 1.2rem + 4vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}

.v3-final h2 .v3-red-dot {
  color: var(--v3-red);
}

/* ---------- 联系（沿用原结构，压暗） ---------- */
.v3-contact .contact-container {
  border: 1px solid var(--v3-line);
  border-radius: 24px;
  padding: clamp(32px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.02);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .v3-card-row,
  .v3-svc-grid,
  .v3-flow {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .v3-card-row,
  .v3-svc-grid,
  .v3-flow {
    grid-template-columns: 1fr;
  }
  .v3-hw-row {
    grid-template-columns: 1fr auto;
  }
  .v3-hw-spec {
    grid-column: 1 / -1;
    order: 3;
  }
  .v3-eclipse {
    width: 78vw;
  }
  .v3-askbox {
    padding: 18px 20px;
    font-size: 0.9375rem;
  }
}

/* ---------- 减弱动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  .v3-eclipse::before {
    animation: none;
  }
}
