
:root {
    --accent: #4f46e5;
    --accent-hover: #4338ca;
    --accent2: #6366f1;
    --neon-blue: #4f46e5;
    --neon-purple: #6366f1;
    --text-primary: #111827;
    --card-bg: #ffffff;
    --border-color: #e5e7eb;
}

        :root {
            --bg: #ffffff;
            --bg-soft: #f5f7fa;
            --card: #ffffff;
            --border: #e5e7eb;
            --text-main: #111827;
            --text-secondary: #6b7280;
            --primary: linear-gradient(135deg, #6366f1, #4f46e5);
            --primary-hover: linear-gradient(135deg, #4f46e5, #4338ca);
            --radius: 18px;
            --shadow: 0 10px 40px rgba(0,0,0,.06);
        }

        * {
            box-sizing: border-box;
            font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
        }

        body {
            margin: 0;
            background: var(--bg-soft);
            color: var(--text-main);
            -webkit-font-smoothing: antialiased;
        }

        header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 18px 48px;
            background: var(--bg);
            border-bottom: 1px solid var(--border);
            position: sticky;
            top: 0;
            z-index: 100;
            backdrop-filter: blur(12px);
        }

        header nav a {
            margin-left: 28px;
            color: var(--text-secondary);
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
        }

        header nav a:hover {
            color: var(--text-main);
        }

        .hero {
            text-align: center;
            padding: 100px 20px 80px;
            background: var(--bg);
        }

        .hero h1 {
            font-size: 52px;
            font-weight: 700;
            letter-spacing: -0.5px;
            margin-bottom: 18px;
        }

        .hero p {
            font-size: 19px;
            color: var(--text-secondary);
            max-width: 640px;
            margin: 0 auto 40px;
            line-height: 1.7;
        }

        .btn-group {
            display: flex;
            justify-content: center;
            gap: 16px;
            flex-wrap: wrap;
        }

        .btn {
            padding: 16px 36px;
            border-radius: var(--radius);
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            border: none;
            transition: all .25s ease;
        }

        .btn-primary {
            background: var(--primary);
            color: #fff;
            box-shadow: 0 8px 24px rgba(99,102,241,.35);
        }

        .btn-primary:hover {
            background: var(--primary-hover);
            transform: translateY(-1px);
            box-shadow: 0 12px 30px rgba(99,102,241,.45);
        }

        .btn-outline {
            background: var(--bg);
            color: #4f46e5;
            border: 2px solid var(--border);
        }

        .btn-outline:hover {
            border-color: #4f46e5;
            background: #f8fafc;
        }

        .hero > img, .hero-shot {
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            margin-top: 40px;
            height: auto;
            object-fit: contain;
        }

        section {
            padding: 80px 48px;
            max-width: 1200px;
            margin: 0 auto;
        }

        section h2 {
            text-align: center;
            font-size: 34px;
            font-weight: 700;
            margin-bottom: 56px;
        }

        .features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 28px;
        }

        .feature-card {
            background: var(--card);
            padding: 36px;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            border: 1px solid var(--border);
            transition: transform .25s ease, box-shadow .25s ease;
        }

        .feature-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 18px 50px rgba(0,0,0,.08);
        }


        .feature-card .feature-ico {
            width: 36px;
            height: 36px;
            display: block;
        }
        .feature-card h3 {
            margin-top: 18px;
            font-size: 20px;
        }

        .feature-card p {
            color: var(--text-secondary);
            line-height: 1.7;
            margin-top: 10px;
        }

        .reviews {
            display: grid;
            gap: 24px;
        }

        .review {
            background: var(--card);
            padding: 28px;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            border: 1px solid var(--border);
            font-size: 16px;
            line-height: 1.7;
        }

        .review span {
            display: block;
            margin-top: 14px;
            color: var(--text-secondary);
            font-size: 14px;
        }

        details {
            background: var(--card);
            padding: 22px 26px;
            border-radius: var(--radius);
            border: 1px solid var(--border);
            margin-bottom: 16px;
            box-shadow: var(--shadow);
        }

        summary {
            cursor: pointer;
            font-weight: 600;
            font-size: 16px;
        }

        details ul {
            margin-top: 14px;
            padding-left: 20px;
            color: var(--text-secondary);
            line-height: 1.8;
        }

        footer {
            text-align: center;
            padding: 40px 20px;
            font-size: 14px;
            color: var(--text-secondary);
            border-top: 1px solid var(--border);
            background: var(--bg);
        }

        footer a {
            color: var(--text-secondary);
            margin: 0 10px;
            text-decoration: none;
        }

        footer a:hover {
            color: var(--text-main);
        }

        /* 弹窗 */
        .modal-overlay {
            position: fixed;
            inset: 0;
            background: rgba(15,23,42,.45);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            backdrop-filter: blur(6px);
        }

        .modal {
            background: var(--card);
            padding: 44px;
            border-radius: var(--radius);
            width: 380px;
            box-shadow: var(--shadow);
            text-align: center;
            animation: fadeIn .25s ease;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .modal h3 {
            margin-top: 0;
            font-size: 22px;
        }

        .modal .download-options {
            display: flex;
            flex-direction: column;
            gap: 14px;
            margin-top: 28px;
        }

        .modal .download-options a {
            padding: 16px;
            border-radius: var(--radius);
            background: var(--primary);
            color: #fff;
            text-decoration: none;
            font-size: 15px;
            font-weight: 600;
            box-shadow: 0 6px 18px rgba(99,102,241,.3);
        }

        .modal .download-options a:hover {
            background: var(--primary-hover);
        }

        .modal .close-btn {
            margin-top: 26px;
            background: transparent;
            border: none;
            color: var(--text-secondary);
            cursor: pointer;
            font-size: 14px;
        }
    

/* ===== 本站补丁：logo 宽高比 / 次级页 / 下载区（不改参考 :root） ===== */
header .brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}
header .brand-link img {
  height: 36px;
  width: auto;
  max-height: 36px;
  object-fit: contain;
  display: block;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
}
a.btn { text-decoration: none; display: inline-block; }
header nav a.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 12px;
  margin-left: 20px;
}
header nav a.nav-cta:hover { color: #fff; }
.subpage {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  line-height: 1.8;
}
.subpage h1 { font-size: 2rem; margin-bottom: 1rem; }
.subpage h2 { font-size: 1.35rem; margin: 2rem 0 0.8rem; }
.subpage a { color: var(--accent); }
.subpage ul, .subpage ol { padding-left: 1.3rem; color: var(--text-secondary); }
.subpage p { color: var(--text-secondary); }
.spec-table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 0.95rem; }
.spec-table th, .spec-table td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; }
.spec-table th { background: var(--bg-soft); }
.download-section {
  padding: 40px 24px 50px;
  background: var(--bg-soft);
  max-width: none;
}
.download-section .inner { max-width: 1200px; margin: 0 auto; }
.download-header { text-align: center; margin-bottom: 36px; }
.download-header .badge {
  display: inline-block;
  background: #eef2ff;
  border: 1px solid #e0e7ff;
  border-radius: 40px;
  padding: 6px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #4f46e5;
  margin-bottom: 10px;
}
.download-header h2 { font-size: 2.2rem; font-weight: 700; color: var(--text-main); }
.download-header p { color: var(--text-secondary); font-size: 1.1rem; margin-top: 6px; }
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
}
.download-card {
  background: var(--card);
  border-radius: 24px;
  padding: 32px 24px 28px;
  text-align: center;
  border: 1px solid var(--border);
  position: relative;
}
.download-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.download-card .icon-wrap { font-size: 3.2rem; color: #4f46e5; margin-bottom: 12px; display: block; }
.download-card h3 { font-size: 1.4rem; font-weight: 700; color: var(--text-main); margin: 0 0 4px; }
.download-card .version { font-size: 0.8rem; color: var(--text-secondary); display: block; margin-bottom: 10px; }
.download-card .desc { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 18px; min-height: 50px; }
.download-card .btn-download {
  display: inline-flex; align-items: center; gap: 8px;
  background: #4f46e5; color: #fff; padding: 12px 32px;
  border-radius: 40px; font-weight: 600; font-size: 0.95rem; text-decoration: none;
}
.download-card .badge-hot {
  font-size: 0.65rem; font-weight: 700; color: #4f46e5;
  background: #eef2ff;
  padding: 2px 14px; border-radius: 30px; display: inline-block; margin-bottom: 8px;
}
.download-footer-note { text-align: center; margin-top: 32px; color: var(--text-secondary); font-size: 0.95rem; }
#install-guide { padding: 48px; max-width: 1200px; margin: 0 auto; }
.blog-main { padding-bottom: 4rem; }
.blog-wrap, .article-wrap .wrap { max-width: 900px; margin: 0 auto; padding: 0 2rem; }
.blog-hero { padding: 4rem 0 2rem; }
.blog-hero h1 { font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: 1rem; }
.blog-lead { color: var(--text-secondary); line-height: 1.75; max-width: 680px; }
.blog-lead a, .blog-card h2 a:hover, .read-more { color: #4f46e5; }
.blog-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.blog-card { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 22px 24px; }
.blog-dl-cta .download-btn, .article-cta .download-btn {
  display: inline-block; padding: 0.75rem 1.5rem;
  background: var(--primary); color: #fff; border-radius: 12px;
  text-decoration: none; font-weight: 600;
}
@media (max-width: 800px) {
  header { padding: 14px 18px; flex-wrap: wrap; gap: 10px; }
  header nav a { margin-left: 12px; }
  .hero h1 { font-size: 36px; }
  section { padding: 48px 20px; }
}
