/* ============================================================
   Process Lasso 网站统一样式表
   蓝色系配色 | 现代简洁 | 系统工具风格
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --primary: #1a73e8;
  --primary-dark: #1557b0;
  --primary-light: #e8f0fe;
  --primary-hover: #1669d0;
  --text: #202124;
  --text-secondary: #5f6368;
  --text-muted: #80868b;
  --border: #dadce0;
  --bg: #f8f9fa;
  --bg-white: #ffffff;
  --bg-dark: #1a1a2e;
  --success: #0d904f;
  --warning: #f9ab00;
  --danger: #d93025;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 2px 8px rgba(0,0,0,0.08);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --max-width: 1140px;
  --nav-height: 60px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ---------- Navbar ---------- */
.navbar {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}
.navbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 100%;
  justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-brand img { width: 32px; height: 32px; }
.nav-brand span { font-size: 17px; font-weight: 600; color: var(--text); }
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a {
  display: inline-block;
  padding: 5px 14px;
  font-size: 13px;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
}
.nav-links a:hover { background: var(--primary-light); color: var(--primary); }
.nav-links a.active { color: var(--primary); font-weight: 500; background: var(--primary-light); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, #1a3a6b 0%, #1a5dc4 50%, #1a73e8 100%);
  color: #fff;
  text-align: center;
  padding: 70px 24px 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.04) 0%, transparent 50%);
}
.hero-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.hero h1 { font-size: 36px; font-weight: 700; margin-bottom: 16px; line-height: 1.3; }
.hero p { font-size: 16px; opacity: 0.9; margin-bottom: 32px; line-height: 1.6; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 5px 16px;
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  line-height: 1.5;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  box-shadow: none;
  white-space: nowrap;
}
.btn:hover { box-shadow: none; transform: none; }
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; color: #fff; }
.btn-light { background: #fff; color: var(--primary); border-color: #fff; }
.btn-light:hover { background: #f1f5ff; color: var(--primary-dark); }
.btn-sm { padding: 4px 12px; font-size: 12px; }
.btn-lg { padding: 8px 20px; font-size: 14px; }
.btn-success { background: var(--success); color: #fff; border-color: var(--success); }
.btn-success:hover { background: #0b7a40; }

/* ---------- Section ---------- */
.section { padding: 56px 24px; }
.section-gray { background: var(--bg); }
.section-white { background: var(--bg-white); }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 { font-size: 28px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.section-header p { font-size: 15px; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }
.container { max-width: var(--max-width); margin: 0 auto; }

/* ---------- Stats Bar ---------- */
.stats-bar {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.stats-grid {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.stat-item { text-align: center; }
.stat-item .stat-val { font-size: 18px; font-weight: 600; color: var(--primary); }
.stat-item .stat-label { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ---------- Feature Cards Grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: border-color 0.15s;
}
.feature-card:hover { border-color: var(--primary); }
.feature-card .fc-icon {
  width: 40px; height: 40px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--primary); margin-bottom: 14px;
}
.feature-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.feature-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* ---------- Screenshot Section ---------- */
.screenshot-box {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}
.screenshot-box img {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  max-width: 900px;
  margin: 0 auto;
}

/* ---------- Tables ---------- */
.table-wrapper { overflow-x: auto; max-width: var(--max-width); margin: 0 auto; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  background: var(--bg-white);
}
table th {
  background: #f1f3f4;
  padding: 10px 16px;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}
table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}
table tr:hover td { background: #fafbfc; }
table .td-check { color: var(--success); font-weight: 600; text-align: center; }
table .td-cross { color: var(--danger); text-align: center; }
table .td-label { font-weight: 500; color: var(--text); white-space: nowrap; }

/* ---------- Download Cards ---------- */
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.download-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  transition: border-color 0.15s;
}
.download-card:hover { border-color: var(--primary); }
.download-card.highlight { border-color: var(--primary); border-width: 2px; }
.download-card .dc-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 10px;
  margin-bottom: 12px;
}
.download-card h3 { font-size: 17px; margin-bottom: 8px; }
.download-card p { font-size: 13px; color: var(--text-secondary); margin-bottom: 18px; }
.download-card .dc-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 16px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-q {
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: background 0.15s;
}
.faq-q:hover { background: #fafbfc; }
.faq-q::after { content: '+'; font-size: 18px; color: var(--text-muted); font-weight: 300; }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a { display: none; padding: 0 18px 16px; font-size: 13px; color: var(--text-secondary); line-height: 1.7; }
.faq-item.open .faq-a { display: block; }

/* ---------- Page Header ---------- */
.page-header {
  background: linear-gradient(135deg, #1a3a6b 0%, #1a5dc4 100%);
  color: #fff;
  text-align: center;
  padding: 48px 24px;
}
.page-header h1 { font-size: 30px; font-weight: 700; margin-bottom: 8px; }
.page-header p { font-size: 15px; opacity: 0.9; max-width: 600px; margin: 0 auto; }

/* ---------- Feature Detail ---------- */
.feature-detail-list { max-width: var(--max-width); margin: 0 auto; }
.feature-detail {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.feature-detail:last-child { border-bottom: none; }
.feature-detail .fd-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--primary);
}
.feature-detail h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.feature-detail p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.feature-detail .fd-highlight {
  display: inline-block;
  background: #e8f5e9;
  color: var(--success);
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 3px;
  margin-top: 8px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 32px 24px;
  text-align: center;
  margin-top: auto;
}
.footer p { font-size: 12px; }
.footer a { color: rgba(255,255,255,0.8); }
.footer a:hover { color: #fff; }

/* ---------- System Req ---------- */
.sysreq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 700px;
  margin: 0 auto;
}
.sysreq-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 13px;
}
.sysreq-item strong { display: block; color: var(--text); margin-bottom: 4px; }
.sysreq-item span { color: var(--text-secondary); }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px 0;
  font-size: 12px;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }

/* ---------- Content Card ---------- */
.content-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  max-width: var(--max-width);
  margin: 0 auto 32px;
}

/* ---------- Tag / Badge ---------- */
.tag {
  display: inline-block;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 3px;
  font-weight: 500;
}
.tag-blue { background: var(--primary-light); color: var(--primary); }
.tag-green { background: #e8f5e9; color: var(--success); }
.tag-orange { background: #fef7e0; color: #e37400; }

/* ---------- Warning Box ---------- */
.warning-box {
  background: #fef7e0;
  border: 1px solid #f9ab00;
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  font-size: 13px;
  color: #5f4b00;
  max-width: var(--max-width);
  margin: 0 auto 24px;
}

/* ---------- Helper ---------- */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-12 { margin-top: 12px; }
.mt-20 { margin-top: 20px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.gap-8 { gap: 8px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-wrap { flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .download-grid { grid-template-columns: 1fr; }
  .stats-grid { gap: 24px; }
  .hero h1 { font-size: 26px; }
  .hero p { font-size: 14px; }
  .feature-detail { flex-direction: column; }
}

@media (max-width: 600px) {
  .feature-grid { grid-template-columns: 1fr; }
  .nav-links { gap: 2px; }
  .nav-links a { padding: 5px 8px; font-size: 12px; }
  .hero { padding: 48px 16px 40px; }
  .hero h1 { font-size: 22px; }
  .section { padding: 36px 16px; }
  .sysreq-grid { grid-template-columns: 1fr; }
}

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.modal-content {
  background: #fff;
  border-radius: 8px;
  max-width: 460px;
  width: 90%;
  padding: 30px 24px 24px;
  position: relative;
  box-shadow: 0 8px 30px rgba(0,0,0,0.18);
  animation: modalIn 0.25s ease-out;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
.modal-close {
  position: absolute;
  top: 10px; right: 14px;
  width: 30px; height: 30px;
  line-height: 28px;
  text-align: center;
  font-size: 22px;
  color: #999;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.2s;
}
.modal-close:hover { color: #333; background: #f0f0f0; }
.qrcode-wrapper {
  text-align: center;
  margin: 20px 0 16px;
}
.qrcode-breathe {
  display: inline-block;
  border: 2px solid #1a73e8;
  border-radius: 4px;
  padding: 4px;
  line-height: 0;
  animation: qr-breathe 2s ease-in-out infinite;
}
@keyframes qr-breathe {
  0%, 100% { border-color: rgba(26,115,232,0.4); }
  50% { border-color: rgba(26,115,232,0.9); }
}
.modal-text {
  text-align: center;
  font-size: 14px;
  color: #555;
  line-height: 1.8;
}
.modal-tip {
  font-size: 12px;
  color: #888;
  margin-top: 15px;
  padding: 10px 12px;
  background: #fff8e1;
  border-radius: 4px;
  text-align: center;
  border-left: 3px solid #ffc107;
}

/* ---------- Print ---------- */
@media print {
  .navbar, .footer, .hero { background: none !important; color: #000 !important; }
}
