﻿/* 驱动助手落地页 — NVIDIA 暗黑科技风
   主色：#76b900 NVIDIA Green   背景：纯黑 */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green: #76b900;
  --green-light: #8ed10a;
  --bg-black: #000;
  --bg-dark: #0a0a0a;
  --bg-card: #141414;
  --bg-card-2: #0e0e0e;
  --border: #1f1f1f;
  --border-hi: rgba(118,185,0,.5);
  --text: #f3f3f3;
  --text-mute: #9aa49a;
  --text-dim: #5d645d;
  --mono: "SF Mono", "JetBrains Mono", Consolas, "Courier New", monospace;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg-black);
  color: var(--text);
  line-height: 1.6;
  font-family: "NVIDIA Sans", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-width: 1280px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.accent { color: var(--green); }
.center { text-align: center; }
.mono { font-family: var(--mono); letter-spacing: .3px; }

/* ===== 按钮 + 扫光特效 ===== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border: none;
  border-radius: 4px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  letter-spacing: .5px;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, background .25s;
  isolation: isolate;
}
.btn-primary {
  background: var(--green);
  color: #000;
}
.btn-primary:hover {
  background: var(--green-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(118,185,0,.55), 0 0 24px rgba(118,185,0,.35);
}
.btn-sm { padding: 9px 20px; font-size: 13px; }
.btn-lg { padding: 18px 44px; font-size: 17px; border-radius: 6px; }
.btn-block { width: 100%; padding: 14px; }

/* 扫光动画 */
.btn-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: btnGlow 2.6s linear infinite;
  pointer-events: none;
  z-index: 1;
}
.btn > svg, .btn > span:not(.btn-glow) { position: relative; z-index: 2; }
@keyframes btnGlow {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

/* 大按钮的外发光呼吸 */
.btn-lg::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  background: radial-gradient(closest-side, rgba(118,185,0,.6), transparent 70%);
  filter: blur(16px);
  opacity: .55;
  z-index: -1;
  animation: btnBreath 2.4s ease-in-out infinite;
}
@keyframes btnBreath {
  0%, 100% { opacity: .35; transform: scale(.95); }
  50% { opacity: .8; transform: scale(1.05); }
}

/* ===== 顶部导航 ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(0,0,0,.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 8px; }
.logo-img { width: 32px; height: 32px; border-radius: 8px; object-fit: contain; flex-shrink: 0; }
.logo-text { font-weight: 700; font-size: 17px; letter-spacing: .5px; }
.nav-menu { display: flex; gap: 28px; flex: 1; justify-content: center; align-items: center; }
.nav-menu a {
  color: #ddd; font-size: 15px; padding: 6px 0; position: relative;
  transition: color .2s;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--green); }
.nav-menu a.active::after,
.nav-menu a:hover::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--green);
}
.nav .btn-sm { padding: 8px 22px; font-size: 14px; border-radius: 4px; }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 68px 0 0;
  overflow: hidden;
  background: url('../images/bg.jpg') center center / cover no-repeat;
  min-height: 430px;
  overflow: hidden;
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1.35fr;
  gap: 0;
  align-items: start;
  max-width: none;
  padding-left: max(32px, calc((100vw - 1280px) / 2 + 32px));
  padding-right: 0;
  padding-top: 36px;
}
.hero-title {
  font-size: clamp(28px, 3.6vw, 50px);
  font-weight: 900; line-height: 1.12;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.hero-sub { font-size: 16px; color: #c8d2c2; margin-bottom: 24px; }
.hero-feats {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 12px 20px;
  margin-bottom: 24px;
}
.hero-feats li { display: flex; align-items: center; gap: 8px; color: #d8e2d2; font-size: 13.5px; }
.dot-check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--green); color: #000;
  font-size: 12px; font-weight: 800; flex-shrink: 0;
}
.dot-check::after { content: "✓"; }

.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 5px;
  font-size: 12px;
  color: #c0cabb;
}
.tag svg { opacity: .7; flex-shrink: 0; }
.hero-note { margin-top: 12px; color: var(--text-mute); font-size: 13.5px; }

/* 首屏大按钮 */
.btn-hero {
  padding: 17px 40px;
  font-size: 18px;
  font-weight: 800;
  border-radius: 6px;
  letter-spacing: .5px;
}
.btn-hero::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  background: radial-gradient(closest-side, rgba(118,185,0,.6), transparent 70%);
  filter: blur(16px);
  opacity: .55;
  z-index: -1;
  animation: btnBreath 2.4s ease-in-out infinite;
}

/* 右侧图片叠层 */
.hero-right {
  position: relative;
  height: 430px;
  align-self: center;
  overflow: visible;
}
.hero-software {
  position: absolute;
  top: -70px;
  right: max(20px, calc((100vw - 1280px) / 2 + 20px));
  width: 62%;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,.7), 0 0 40px rgba(118,185,0,.2);
  z-index: 1;
}
.hero-gpu {
  position: absolute;
  bottom: 4px;
  left: -60px;
  width: 53%;
  z-index: 2;
  filter: drop-shadow(0 16px 32px rgba(118,185,0,.3));
}

.check {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--green); color: #000;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px;
}
.status-text { font-size: 12px; color: #ccc; }
.status-text span { color: var(--green); font-weight: 700; margin-left: 2px; }
.win-main ul { list-style: none; }
.win-main li {
  display: flex; justify-content: space-between;
  padding: 6px 2px;
  font-size: 11.5px;
  color: #c5c5c5;
  border-bottom: 1px dashed var(--border);
  font-family: var(--mono);
}
.win-main li span { color: var(--text-mute); }

/* ===== Section 通用 ===== */
.section { padding: 80px 0; position: relative; }
.section-dark { background: var(--bg-dark); }
.section-title {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  text-align: center;
  letter-spacing: -.5px;
  margin-bottom: 12px;
}
.section-title.left { text-align: left; }
.section-sub { text-align: center; color: var(--text-mute); font-size: 14.5px; margin-bottom: 44px; }
.section-sub.left { text-align: left; margin-bottom: 24px; }

/* ===== 卡片 ===== */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.card {
  background: linear-gradient(160deg, #181818, #0e0e0e);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.card:hover {
  border-color: var(--border-hi);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.5), 0 0 24px rgba(118,185,0,.12);
}
.card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.card p { color: var(--text-mute); font-size: 13px; margin-bottom: 14px; line-height: 1.65; }
.card-img {
  width: 100%; border-radius: 8px;
  aspect-ratio: 3/2; object-fit: cover;
  border: 1px solid rgba(118,185,0,.1);
  image-rendering: -webkit-optimize-contrast;
}

.compare {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  border-radius: 8px; overflow: hidden;
  border: 1px solid rgba(118,185,0,.1);
}
.compare.single { grid-template-columns: 1fr; }
.compare.single img { aspect-ratio: 16/9; }
.compare img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.labels {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  margin-top: 12px; margin-bottom: 8px; text-align: center; font-size: 15px; font-weight: 700;
}
.bad { color: #ff5a5a; }
.good { color: var(--green); }

.card-img-wrap { position: relative; }
.card-img-wrap .card-img { display: block; }
.labels-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  margin: 0;
  background: rgba(0,0,0,.55);
  border-radius: 0 0 8px 8px;
  padding: 6px 12px;
}

.two-gpu { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; border-radius: 8px; overflow: hidden; border: 1px solid rgba(118,185,0,.1); }
.gpu-box { position: relative; }
.gpu-box img { border-radius: 0; aspect-ratio: 4/3; object-fit: cover; width: 100%; display: block; }
.mark {
  position: absolute; top: 6px; right: 6px;
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 12px;
}
.mark-x { background: #ff5a5a; color: #fff; }
.mark-ok { background: var(--green); color: #000; }

/* ===== 检测窗口 + 雷达 ===== */
.two-col {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 64px; align-items: center;
}
.detect-window {
  background: linear-gradient(180deg, #111, #080808);
  border: 1px solid var(--border-hi);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0,0,0,.6), 0 0 30px rgba(118,185,0,.15);
}
.detect-body { padding: 24px 24px 28px; }

.scan-ring { position: relative; width: 110px; height: 110px; margin: 0 auto 18px; }
.scan-ring-inner {
  position: absolute; inset: 16px;
  background: rgba(118,185,0,.06);
  border: 2px solid rgba(118,185,0,.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 0 30px rgba(118,185,0,.15);
}
.scan-arc {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--green);
  border-right-color: var(--green);
  animation: spin 1.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.detect-title { text-align: center; color: #c8d2c2; margin-bottom: 18px; font-size: 14px; }
.detect-info { list-style: none; margin-bottom: 16px; }
.detect-info li {
  display: flex; justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 13px;
}
.detect-info span { color: var(--text-mute); }
.detect-info b { color: #eee; font-weight: 500; }
.detect-info .warn { color: #ff8a3d; font-family: var(--mono); }

.progress { height: 4px; background: #1a1a1a; border-radius: 4px; overflow: hidden; margin-bottom: 18px; }
.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--green-light));
  width: 0;
  animation: load 3s ease-in-out infinite;
}
@keyframes load { 0% { width: 0; } 60% { width: 92%; } 100% { width: 100%; } }

.features { margin-top: 36px; }
.feat { text-align: left; }
.feat-icon {
  width: 52px; height: 52px;
  border-radius: 8px;
  background: rgba(118,185,0,.1);
  border: 1px solid rgba(118,185,0,.25);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.feat h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.feat p { color: var(--text-mute); font-size: 13px; line-height: 1.7; }

/* ===== 步骤 ===== */
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: stretch;
  margin-bottom: 36px;
  margin-top: 8px;
}
.step {
  position: relative;
  padding: 36px 22px 24px;
  text-align: center;
}
.step-num {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  width: 38px; height: 38px;
  background: var(--green);
  color: #000; font-weight: 800;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  font-family: var(--mono);
  box-shadow: 0 6px 18px rgba(118,185,0,.4);
}
.step-icon {
  width: 72px; height: 72px;
  background: rgba(118,185,0,.08);
  border: 1px solid rgba(118,185,0,.2);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.step h4 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--text-mute); font-size: 13.5px; }
.arrow {
  display: flex; align-items: center; justify-content: center;
  color: var(--green); font-size: 22px; font-weight: 300;
}
.check-row {
  display: flex; justify-content: center; gap: 32px;
  margin-top: 22px; color: var(--text-mute); font-size: 14px;
}

/* ===== CTA ===== */
.cta {
  position: relative;
  padding: 50px 0;
  background: url('../images/bottom-bg.png') center center / 100% auto no-repeat;
  overflow: hidden;
}
.cta-inner { display: flex; justify-content: center; align-items: center; }
.cta-img {
  aspect-ratio: 1/1; object-fit: cover;
  border-radius: 12px; max-width: 240px;
  border: 1px solid var(--border);
}
.cta-left { justify-self: start; }
.cta-right { justify-self: end; }
.cta-mid { text-align: center; }
.cta-mid h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800; margin-bottom: 10px;
  letter-spacing: -.5px;
}
.cta-mid p { color: #c8d2c2; margin-bottom: 26px; }
.cta-note { color: var(--text-dim); font-size: 13px; margin-top: 18px; }

/* ===== Footer ===== */
.footer { padding: 16px 0; background: #050505; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.footer-nav { display: flex; gap: 28px; }
.footer-nav a { color: var(--text-mute); font-size: 13px; transition: color .2s; }
.footer-nav a:hover { color: var(--green); }
.copyright { color: var(--text-dim); font-size: 12px; width: 100%; max-width: 600px; }

/* ===== 自动识别模块（detect）===== */
.detect-section .section-head { text-align: center; margin-bottom: 48px; }
.detect-wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
.detector { padding: 0; overflow: hidden; }
.detector-head {
  display: flex; align-items: center;
  padding: 12px 16px;
  background: #0a0a0a;
  border-bottom: 1px solid var(--border);
}
.detector-title {
  font-size: 12px; color: var(--text-mute);
  font-family: var(--mono);
  display: inline-flex; align-items: center;
}
.detector-body { padding: 36px 32px; }
.scan-ring {
  position: relative;
  width: 140px; height: 140px;
  margin: 0 auto 28px;
}
.scan-ring-inner {
  position: absolute; inset: 18px;
  background: rgba(118,185,0,.06);
  border: 2px solid rgba(118,185,0,.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 0 30px rgba(118,185,0,.15);
}
.scan-arc {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--green);
  border-right-color: var(--green);
  animation: spin 1.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.scan-status { margin-bottom: 24px; }
.status-line {
  display: flex; justify-content: space-between;
  padding: 9px 0;
  font-size: 13px;
  border-bottom: 1px dashed var(--border);
}
.status-line:last-of-type { border-bottom: none; }
.lbl { color: var(--text-mute); }
.val { color: #eee; font-family: var(--mono); }
.val.ok { color: var(--green); }
.val.typing::after {
  content: "▋"; color: var(--green);
  animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.detect-steps { list-style: none; }
.detect-steps li {
  display: flex; gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.detect-steps li:last-child { border-bottom: none; }
.detect-steps .step-num {
  flex-shrink: 0;
  font-size: 36px; font-weight: 800;
  color: var(--green);
  font-family: var(--mono);
  line-height: 1;
  background: none;
  border-radius: 0;
  width: auto; height: auto;
  position: static;
  transform: none;
  box-shadow: none;
}
.detect-steps h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.detect-steps p { color: var(--text-mute); font-size: 14px; }

/* 仅投放 PC 端，最小宽度 1280px */


