/* ============================================
   QuickQ 官方下载站 — 主样式
   ============================================ */

:root {
  --blue-600: #2563EB;
  --blue-500: #3B82F6;
  --blue-400: #60A5FA;
  --blue-100: #DBEAFE;
  --blue-50:  #EFF6FF;
  --ink-900: #0B1B33;
  --ink-700: #1E3A5F;
  --ink-500: #476182;
  --ink-400: #6B82A0;
  --line:    #E2E8F0;
  --bg:      #F7FAFF;
  --white:   #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(37, 99, 235, .06);
  --shadow-md: 0 12px 32px rgba(37, 99, 235, .10);
  --shadow-lg: 0 24px 60px rgba(37, 99, 235, .14);
  --radius: 16px;
  --radius-lg: 24px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Manrope", "Noto Sans SC", -apple-system, BlinkMacSystemFont,
               "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink-900);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ 导航 ============ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 250, 255, .85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, .7);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 20px; letter-spacing: -.02em;
}
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 16px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, .3);
}
.logo-img {
  width: 36px; height: 36px; border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(37, 99, 235, .25);
}
.nav-links {
  display: flex; gap: 32px; list-style: none;
  font-size: 15px; color: var(--ink-500);
}
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--blue-600); }
.nav-cta {
  background: var(--ink-900); color: #fff;
  padding: 10px 20px; border-radius: 999px;
  font-size: 14px; font-weight: 600;
  transition: transform .2s, box-shadow .2s;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(11, 27, 51, .2);
}

/* ============ Hero ============ */
.hero {
  position: relative;
  padding: 96px 0 120px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(800px 400px at 80% -10%, rgba(59,130,246,.18), transparent 60%),
    radial-gradient(600px 300px at 10% 10%, rgba(96,165,250,.15), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--blue-100); color: var(--blue-600);
  font-size: 13px; font-weight: 600; margin-bottom: 24px;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue-600);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}
.hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.1; letter-spacing: -.03em; font-weight: 800;
  margin-bottom: 24px;
}
.hero h1 .accent {
  background: linear-gradient(120deg, #3B82F6, #2563EB);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 18px; color: var(--ink-500);
  max-width: 520px; margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px;
  font-size: 15px; font-weight: 600;
  transition: transform .2s, box-shadow .2s;
}
.btn-primary {
  background: linear-gradient(135deg, #3B82F6, #2563EB);
  color: #fff;
  box-shadow: 0 10px 28px rgba(37, 99, 235, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(37, 99, 235, .45); }
.btn-ghost {
  background: #fff; color: var(--ink-900);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--blue-400); color: var(--blue-600); }

.hero-stats {
  display: flex; gap: 40px; margin-top: 48px;
}
.hero-stat .num {
  font-size: 28px; font-weight: 800; letter-spacing: -.02em;
  color: var(--ink-900);
}
.hero-stat .label { font-size: 13px; color: var(--ink-400); }

/* 产品 mockup */
.mockup {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  padding: 28px;
}
.mockup::after {
  content: "";
  position: absolute; inset: auto -40px -40px auto;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(59,130,246,.2), transparent 70%);
  z-index: -1;
}
.mockup-bar {
  display: flex; gap: 6px; margin-bottom: 20px;
}
.mockup-bar span {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--line);
}
.mockup-bar span:first-child { background: #FCA5A5; }
.mockup-bar span:nth-child(2) { background: #FCD34D; }
.mockup-bar span:nth-child(3) { background: #86EFAC; }
.mockup-connect {
  display: grid; place-items: center; padding: 20px 0 28px;
}
.connect-btn {
  width: 120px; height: 120px; border-radius: 50%;
  background: linear-gradient(135deg, #3B82F6, #2563EB);
  color: #fff; font-weight: 700; font-size: 15px;
  box-shadow: 0 12px 32px rgba(37, 99, 235, .4), inset 0 0 0 8px rgba(255,255,255,.1);
  position: relative;
}
.connect-btn::before, .connect-btn::after {
  content: ""; position: absolute; inset: -12px;
  border-radius: 50%; border: 2px solid rgba(59,130,246,.3);
  animation: ripple 2.4s infinite;
}
.connect-btn::after { animation-delay: 1.2s; }
@keyframes ripple {
  0% { transform: scale(.9); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}
.mockup-status {
  text-align: center; font-size: 13px; color: var(--ink-400);
  margin-top: 16px;
}
.mockup-status strong { color: var(--blue-600); display: block; font-size: 15px; }
.mockup-list {
  margin-top: 20px; border-top: 1px solid var(--line); padding-top: 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.mockup-row {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; padding: 8px 12px; border-radius: 8px;
  background: var(--blue-50);
}
.mockup-row .ping { color: var(--blue-600); font-weight: 600; }
.mockup-row .cc {
  font-style: normal; font-size: 10px; font-weight: 700;
  background: var(--blue-600); color: #fff;
  padding: 2px 6px; border-radius: 4px; margin-right: 6px;
  letter-spacing: .05em;
}

/* ============ 通用 section ============ */
.section { padding: 100px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.section-tag {
  display: inline-block; font-size: 13px; font-weight: 700;
  color: var(--blue-600); letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 16px;
}
.section-head h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  letter-spacing: -.02em; line-height: 1.15; margin-bottom: 16px;
  font-weight: 800;
}
.section-head p { color: var(--ink-500); font-size: 17px; }

/* ============ 特性卡片 ============ */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-100);
}
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--blue-50); color: var(--blue-600);
  display: grid; place-items: center; margin-bottom: 20px;
}
.feature h3 { font-size: 18px; margin-bottom: 10px; font-weight: 700; }
.feature p { font-size: 14.5px; color: var(--ink-500); }

/* ============ 全球节点（图文） ============ */
.globe-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center;
  background: linear-gradient(135deg, #EFF6FF 0%, #fff 100%);
  border-radius: var(--radius-lg);
  padding: 60px;
  border: 1px solid var(--line);
}
.globe-block img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.globe-block h2 {
  font-size: 36px; letter-spacing: -.02em; margin-bottom: 20px;
  line-height: 1.2; font-weight: 800;
}
.globe-block p { color: var(--ink-500); margin-bottom: 24px; font-size: 16px; }
.globe-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.globe-list li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 15px; color: var(--ink-700);
}
.globe-list .check {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue-100); color: var(--blue-600);
  display: grid; place-items: center; font-size: 12px; font-weight: 800;
  margin-top: 2px;
}

/* ============ 下载平台 ============ */
.downloads {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.dl-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px 24px;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.dl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.dl-card .icon {
  width: 56px; height: 56px; margin: 0 auto 16px;
  display: grid; place-items: center;
  color: var(--ink-900);
}
.dl-card h3 { font-size: 17px; margin-bottom: 6px; }
.dl-card .ver { font-size: 12px; color: var(--ink-400); margin-bottom: 18px; }
.dl-card .dl-btn {
  display: inline-block;
  padding: 10px 22px; border-radius: 999px;
  background: var(--blue-600); color: #fff;
  font-size: 13px; font-weight: 600;
  transition: background .2s;
}
.dl-card .dl-btn:hover { background: #1D4ED8; }

/* ============ 使用步骤 ============ */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  counter-reset: step;
}
.step {
  position: relative; padding: 32px;
  background: #fff; border-radius: var(--radius);
  border: 1px solid var(--line);
}
.step-num {
  font-size: 48px; font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, #DBEAFE, #93C5FD);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--ink-500); }

/* ============ FAQ ============ */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  width: 100%; text-align: left;
  padding: 20px 24px; font-size: 16px; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--ink-900);
}
.faq-q .arrow { transition: transform .25s; color: var(--blue-600); }
.faq-item.open .arrow { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease;
  padding: 0 24px;
  color: var(--ink-500); font-size: 15px;
}
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 20px; }

/* ============ 最终 CTA ============ */
.final-cta {
  background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%);
  border-radius: var(--radius-lg);
  padding: 80px 40px; text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 200px at 20% 20%, rgba(255,255,255,.15), transparent 60%),
    radial-gradient(500px 200px at 80% 80%, rgba(96,165,250,.3), transparent 60%);
}
.final-cta h2 {
  position: relative;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -.02em; margin-bottom: 16px; font-weight: 800;
}
.final-cta p { position: relative; opacity: .9; margin-bottom: 32px; font-size: 17px; }
.final-cta .btn-primary {
  position: relative;
  background: #fff; color: var(--blue-600);
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
}

/* ============ 页脚 ============ */
.footer {
  padding: 60px 0 30px; margin-top: 80px;
  border-top: 1px solid var(--line);
  color: var(--ink-400); font-size: 14px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 40px;
}
.footer h4 {
  font-size: 14px; color: var(--ink-900); margin-bottom: 16px;
  font-weight: 700;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer a:hover { color: var(--blue-600); }
.footer-bottom {
  padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}

/* ============ 响应式 ============ */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .globe-block { grid-template-columns: 1fr; padding: 32px; }
  .downloads { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .downloads { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 80px; }
  .section { padding: 64px 0; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
}
