/* ========== 全局 ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    font-size: 14px; line-height: 1.6; color: #333; background: #fff;
}
a { color: #2563eb; text-decoration: none; transition: color .2s; }
a:hover { color: #1d4ed8; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* ========== 顶部栏 ========== */
.top-bar {
    background: #1e293b; color: #94a3b8; font-size: 12px; padding: 6px 0;
}
.top-bar .container { display: flex; justify-content: space-between; }
.top-bar a { color: #94a3b8; margin-left: 20px; }
.top-bar a:hover { color: #fff; }

/* ========== 主导航 ========== */
.site-header {
    background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.06); position: sticky; top: 0; z-index: 100;
}
.header-inner { display: flex; align-items: center; height: 70px; gap: 25px; }
.logo { display: flex; flex-direction: column; line-height: 1.2; }
.logo a { font-size: 24px; font-weight: bold; color: #2563eb; }
.logo-sub { font-size: 10px; color: #999; letter-spacing: 2px; }
.main-nav { flex: 1; }
.main-nav > ul { display: flex; gap: 3px; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
    display: block; padding: 10px 16px; color: #444; font-size: 15px; border-radius: 4px;
}
.main-nav > ul > li > a:hover, .main-nav > ul > li > a.active { background: #eff6ff; color: #2563eb; }
.dropdown {
    position: absolute; top: 100%; left: 0; min-width: 180px; background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,.1); border-radius: 0 0 6px 6px;
    opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .2s; z-index: 200;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a { display: block; padding: 10px 18px; color: #555; font-size: 14px; border-bottom: 1px solid #f0f0f0; }
.dropdown li:last-child a { border-bottom: none; }
.dropdown li a:hover { background: #f8fafc; color: #2563eb; }

.search-box form { display: flex; }
.search-box input {
    width: 170px; padding: 7px 12px; border: 1px solid #ddd; border-radius: 4px 0 0 4px; outline: none; font-size: 13px;
}
.search-box input:focus { border-color: #2563eb; }
.search-box button {
    padding: 7px 16px; background: #2563eb; color: #fff; border: none; border-radius: 0 4px 4px 0; cursor: pointer; font-size: 13px;
}
.search-box button:hover { background: #1d4ed8; }

/* ========== 主体 ========== */
.site-main { min-height: calc(100vh - 70px - 280px); padding: 30px 0; }

/* ========== Hero Banner ========== */
.hero-banner {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%);
    color: #fff; padding: 20px 35px; margin-bottom: 30px; border-radius: 12px;
}
.hero-banner h1 { font-size: 26px; margin-bottom: 6px; }
.hero-banner p { font-size: 14px; opacity: .9; max-width: 600px; margin-bottom: 12px; }
.hero-banner .btn-group { display: flex; gap: 15px; }
.btn-hero {
    display: inline-block; padding: 12px 30px; border-radius: 6px; font-size: 15px; font-weight: 500;
}
.btn-hero.primary { background: #fff; color: #2563eb; }
.btn-hero.primary:hover { background: #f0f4ff; color: #2563eb; }
.btn-hero.outline { border: 2px solid #fff; color: #fff; }
.btn-hero.outline:hover { background: rgba(255,255,255,.1); color: #fff; }

/* ========== 通用区块 ========== */
.section { margin-bottom: 40px; }
.section-header {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px;
    padding-bottom: 12px; border-bottom: 2px solid #2563eb;
}
.section-title { font-size: 22px; font-weight: bold; color: #1e293b; }
.section-title::before { content: ''; display: inline-block; width: 4px; height: 20px; background: #2563eb; margin-right: 10px; vertical-align: middle; border-radius: 2px; }
.section-more { font-size: 13px; color: #666; }
.section-more:hover { color: #2563eb; }

/* ========== 软件卡片 ========== */
.software-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.software-card {
    background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden;
    transition: all .3s; display: flex; flex-direction: column;
}
.software-card:hover { box-shadow: 0 8px 25px rgba(37,99,235,.15); transform: translateY(-4px); border-color: #2563eb; }
.software-card .card-header {
    padding: 25px; text-align: center; background: linear-gradient(135deg, #f0f4ff, #e0e7ff);
}
.software-card .icon { width: 72px; height: 72px; margin: 0 auto 12px; border-radius: 16px; overflow: hidden; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 36px; box-shadow: 0 4px 12px rgba(0,0,0,.1); }
.software-card .icon img { width: 100%; height: 100%; object-fit: cover; }
.software-card h3 { font-size: 18px; color: #1e293b; }
.software-card .version { font-size: 12px; color: #64748b; margin-top: 4px; }
.software-card .body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.software-card .desc { color: #64748b; font-size: 13px; margin-bottom: 15px; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.software-card .meta { display: flex; justify-content: space-between; font-size: 12px; color: #94a3b8; margin-bottom: 12px; padding-top: 12px; border-top: 1px solid #f0f0f0; }
.software-card .actions { display: flex; gap: 8px; }
.software-card .actions a { flex: 1; text-align: center; padding: 8px; border-radius: 6px; font-size: 13px; }
.btn-download { background: #2563eb; color: #fff !important; }
.btn-download:hover { background: #1d4ed8; }
.btn-detail { border: 1px solid #d1d5db; color: #4b5563 !important; }
.btn-detail:hover { border-color: #2563eb; color: #2563eb !important; }

/* ========== 软件详情 ========== */
.detail-wrap { background: #fff; border-radius: 12px; padding: 35px; box-shadow: 0 1px 4px rgba(0,0,0,.05); }
.detail-hero { display: flex; gap: 30px; margin-bottom: 30px; padding-bottom: 30px; border-bottom: 1px solid #eee; }
.detail-hero .soft-icon { width: 100px; height: 100px; border-radius: 20px; overflow: hidden; background: #f0f4ff; display: flex; align-items: center; justify-content: center; font-size: 48px; flex-shrink: 0; box-shadow: 0 4px 15px rgba(0,0,0,.1); }
.detail-hero .soft-icon img { width: 100%; height: 100%; object-fit: cover; }
.detail-hero .soft-info { flex: 1; }
.detail-hero .soft-info .soft-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 8px; flex-wrap: wrap; }
.detail-hero .soft-info h1 { font-size: 28px; margin: 0; color: #1e293b; }
.btn-download-header { display: inline-block; background: linear-gradient(135deg, #2563eb, #1d4ed8); color: #fff; padding: 10px 24px; border-radius: 8px; font-size: 15px; font-weight: bold; text-decoration: none; white-space: nowrap; box-shadow: 0 4px 12px rgba(37,99,235,.3); transition: all .2s; }
.btn-download-header:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(37,99,235,.4); color: #fff; }
.detail-hero .soft-info .tags { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.tag { display: inline-block; padding: 2px 10px; background: #eff6ff; color: #2563eb; border-radius: 3px; font-size: 12px; }
.detail-hero .soft-info .stats { display: flex; gap: 20px; font-size: 13px; color: #64748b; }
.detail-title { font-size: 20px; font-weight: bold; margin: 25px 0 15px; color: #1e293b; padding-left: 10px; border-left: 4px solid #2563eb; }
.detail-content { font-size: 15px; line-height: 1.9; color: #444; }
.detail-content p { margin-bottom: 15px; }
.detail-content img { margin: 15px auto; border-radius: 6px; }

/* 富文本内容样式 */
.rich-text { font-size: 15px; line-height: 1.9; color: #333; word-wrap: break-word; }
.rich-text p { margin-bottom: 15px; }
.rich-text h1, .rich-text h2, .rich-text h3, .rich-text h4 { margin: 20px 0 12px; font-weight: bold; color: #1e293b; }
.rich-text h1 { font-size: 24px; }
.rich-text h2 { font-size: 20px; }
.rich-text h3 { font-size: 17px; }
.rich-text h4 { font-size: 15px; }
.rich-text img { max-width: 100%; height: auto; margin: 15px 0; border-radius: 6px; display: block; }
.rich-text table { width: 100%; border-collapse: collapse; margin: 15px 0; font-size: 14px; }
.rich-text table th, .rich-text table td { border: 1px solid #e2e8f0; padding: 10px 12px; text-align: left; }
.rich-text table th { background: #f8fafc; font-weight: 600; }
.rich-text ul, .rich-text ol { margin: 10px 0 15px 25px; }
.rich-text ul li, .rich-text ol li { margin-bottom: 6px; line-height: 1.8; }
.rich-text blockquote { border-left: 4px solid #2563eb; background: #f0f7ff; padding: 12px 18px; margin: 15px 0; color: #475569; border-radius: 0 6px 6px 0; }
.rich-text pre { background: #1e293b; color: #e2e8f0; padding: 15px; border-radius: 6px; overflow-x: auto; margin: 15px 0; font-size: 13px; line-height: 1.6; }
.rich-text code { background: #f1f5f9; padding: 2px 6px; border-radius: 4px; font-size: 13px; color: #ef4444; }
.rich-text pre code { background: none; padding: 0; color: inherit; }
.rich-text a { color: #2563eb; text-decoration: underline; }
.rich-text a:hover { color: #1d4ed8; }
.rich-text hr { border: none; border-top: 1px solid #e2e8f0; margin: 20px 0; }

/* 下载区域 */
.download-box {
    background: linear-gradient(135deg, #eff6ff, #dbeafe); border: 1px solid #bfdbfe;
    border-radius: 12px; padding: 30px; margin: 25px 0; text-align: center;
}
.download-box h3 { font-size: 22px; color: #1e293b; margin-bottom: 10px; }
.download-box .soft-meta { display: flex; justify-content: center; gap: 25px; margin: 15px 0; font-size: 13px; color: #475569; flex-wrap: wrap; }
.download-box .btn-download-big {
    display: inline-block; padding: 14px 50px; background: #2563eb; color: #fff; font-size: 17px;
    font-weight: bold; border-radius: 8px; margin-top: 10px; transition: all .2s;
}
.download-box .btn-download-big:hover { background: #1d4ed8; color: #fff; transform: scale(1.02); }
.download-box .note { margin-top: 12px; font-size: 12px; color: #64748b; }

/* 功能特点 */
.feature-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; margin: 20px 0; }
.feature-item { background: #f8fafc; border-radius: 8px; padding: 18px; text-align: center; }
.feature-item .icon { font-size: 32px; margin-bottom: 8px; }
.feature-item h4 { font-size: 15px; margin-bottom: 5px; color: #1e293b; }
.feature-item p { font-size: 12px; color: #64748b; }

/* ========== 帮助中心 ========== */
.help-layout { display: grid; grid-template-columns: 240px 1fr; gap: 25px; }
.help-sidebar { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 20px; height: fit-content; }
.help-sidebar h4 { font-size: 16px; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid #2563eb; }
.help-sidebar ul li { margin-bottom: 5px; }
.help-sidebar ul li a { display: block; padding: 8px 12px; border-radius: 5px; color: #4b5563; font-size: 14px; }
.help-sidebar ul li a:hover, .help-sidebar ul li a.active { background: #eff6ff; color: #2563eb; }
.help-list .help-item { padding: 18px 0; border-bottom: 1px solid #eee; }
.help-list .help-item:last-child { border-bottom: none; }
.help-list .help-item h3 { font-size: 17px; margin-bottom: 8px; }
.help-list .help-item h3 a { color: #1e293b; }
.help-list .help-item h3 a:hover { color: #2563eb; }
.help-list .help-item .meta { font-size: 12px; color: #94a3b8; display: flex; gap: 15px; }

/* ========== 智能客服 ========== */
.chat-container { max-width: 800px; margin: 0 auto; background: #fff; border-radius: 12px; box-shadow: 0 2px 15px rgba(0,0,0,.08); overflow: hidden; }
.chat-header { background: linear-gradient(135deg, #2563eb, #3b82f6); color: #fff; padding: 20px 25px; display: flex; align-items: center; gap: 15px; }
.chat-header .avatar { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-size: 24px; }
.chat-header .info h3 { font-size: 18px; }
.chat-header .info p { font-size: 12px; opacity: .8; }
.chat-messages { padding: 25px; min-height: 400px; max-height: 500px; overflow-y: auto; background: #f8fafc; }
.msg { display: flex; margin-bottom: 20px; gap: 10px; }
.msg.bot { justify-content: flex-start; }
.msg.user { justify-content: flex-end; }
.msg .avatar { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.msg.bot .avatar { background: #dbeafe; order: 1; }
.msg.user .avatar { background: #dcfce7; order: 2; }
.msg .bubble { max-width: 70%; padding: 12px 16px; border-radius: 12px; font-size: 14px; line-height: 1.7; word-break: break-word; }
.msg.bot .bubble { background: #fff; border: 1px solid #e5e7eb; order: 2; border-top-left-radius: 4px; }
.msg.user .bubble { background: #2563eb; color: #fff; order: 1; border-top-right-radius: 4px; }
.chat-quick { padding: 15px 25px; background: #fff; border-top: 1px solid #eee; display: flex; gap: 8px; flex-wrap: wrap; }
.chat-quick span { padding: 6px 14px; background: #f1f5f9; border-radius: 20px; font-size: 12px; color: #475569; cursor: pointer; transition: all .2s; }
.chat-quick span:hover { background: #2563eb; color: #fff; }
.chat-input { padding: 15px 25px; background: #fff; border-top: 1px solid #eee; display: flex; gap: 10px; }
.chat-input input { flex: 1; padding: 12px 16px; border: 1px solid #d1d5db; border-radius: 8px; outline: none; font-size: 14px; }
.chat-input input:focus { border-color: #2563eb; }
.chat-input button { padding: 12px 28px; background: #2563eb; color: #fff; border: none; border-radius: 8px; cursor: pointer; font-size: 14px; }
.chat-input button:hover { background: #1d4ed8; }

/* ========== 面包屑 ========== */
.breadcrumb { font-size: 13px; color: #888; margin-bottom: 20px; }
.breadcrumb a { color: #888; }
.breadcrumb a:hover { color: #2563eb; }
.breadcrumb .sep { margin: 0 8px; }

/* ========== 分页 ========== */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 30px; flex-wrap: wrap; }
.pagination a, .pagination .current, .pagination .dots {
    display: inline-block; padding: 7px 14px; border: 1px solid #d1d5db; border-radius: 5px; font-size: 14px;
}
.pagination a { color: #555; background: #fff; }
.pagination a:hover { border-color: #2563eb; color: #2563eb; }
.pagination .current { background: #2563eb; color: #fff; border-color: #2563eb; }
.pagination .dots { border: none; color: #999; }

/* ========== 空状态 ========== */
.empty-state { text-align: center; padding: 60px 20px; color: #999; }
.empty-state .icon { font-size: 56px; margin-bottom: 15px; }

/* ========== 关于我们 ========== */
.about-hero { background: linear-gradient(135deg, #1e3a8a, #3b82f6); color: #fff; padding: 50px; margin-bottom: 30px; border-radius: 12px; }
.about-hero h1 { font-size: 32px; margin-bottom: 15px; }
.about-hero p { font-size: 16px; opacity: .9; max-width: 100%; }
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; margin: 30px 0; }
.stat-box { background: #f8fafc; border-radius: 10px; padding: 25px; text-align: center; }
.stat-box .num { font-size: 36px; font-weight: bold; color: #2563eb; }
.stat-box .label { font-size: 14px; color: #64748b; margin-top: 5px; }
.about-section { margin-bottom: 35px; }
.about-section h2 { font-size: 22px; margin-bottom: 15px; color: #1e293b; padding-left: 12px; border-left: 4px solid #2563eb; }
.about-section p { color: #555; line-height: 1.9; margin-bottom: 12px; }

/* ========== 联系我们/留言 ========== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.contact-info-card { background: #f8fafc; border-radius: 10px; padding: 30px; }
.contact-info-card h2 { font-size: 22px; margin-bottom: 20px; color: #1e293b; }
.contact-item { display: flex; gap: 15px; margin-bottom: 20px; align-items: flex-start; }
.contact-item .icon { width: 44px; height: 44px; background: #dbeafe; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.contact-item .text h4 { font-size: 15px; margin-bottom: 3px; color: #1e293b; }
.contact-item .text p { color: #64748b; font-size: 14px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 500; color: #444; }
.form-control { width: 100%; padding: 9px 12px; border: 1px solid #d1d5db; border-radius: 6px; font-size: 14px; outline: none; transition: border-color .2s; }
.form-control:focus { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
textarea.form-control { min-height: 120px; resize: vertical; }
.btn-submit { padding: 11px 35px; background: #2563eb; color: #fff; border: none; border-radius: 6px; font-size: 15px; cursor: pointer; }
.btn-submit:hover { background: #1d4ed8; }

/* ========== 侧边栏 ========== */
.sidebar-widget { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 20px; margin-bottom: 20px; }
.widget-title { font-size: 17px; font-weight: bold; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 2px solid #2563eb; }
.hot-list li { padding: 9px 0; border-bottom: 1px dashed #eee; display: flex; justify-content: space-between; align-items: center; }
.hot-list li:last-child { border-bottom: none; }
.hot-list .rank { display: inline-block; width: 20px; height: 20px; line-height: 20px; text-align: center; background: #cbd5e1; color: #fff; border-radius: 3px; font-size: 12px; margin-right: 8px; }
.hot-list li:nth-child(1) .rank { background: #ef4444; }
.hot-list li:nth-child(2) .rank { background: #f97316; }
.hot-list li:nth-child(3) .rank { background: #eab308; }
.hot-list .title { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.hot-list .count { font-size: 12px; color: #94a3b8; margin-left: 8px; }

/* ========== 悬浮客服 ========== */
.float-chat {
    position: fixed; right: 20px; bottom: 80px; width: 60px; height: 60px;
    background: #2563eb; border-radius: 50%; display: flex; flex-direction: column;
    align-items: center; justify-content: center; color: #fff; cursor: pointer;
    box-shadow: 0 4px 15px rgba(37,99,235,.4); transition: all .3s; z-index: 999;
}
.float-chat:hover { transform: scale(1.1); background: #1d4ed8; }
.float-chat .chat-icon { font-size: 22px; }
.float-chat .chat-text { font-size: 10px; margin-top: 2px; }

/* ========== 页脚 ========== */
.site-footer { background: #1e293b; color: #94a3b8; padding: 40px 0 0; margin-top: 40px; }
.footer-grid { display: flex; justify-content: center; padding-bottom: 20px; }
.footer-col h3 { color: #fff; font-size: 20px; margin-bottom: 12px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.footer-col p { font-size: 13px; line-height: 1.8; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: #94a3b8; font-size: 13px; }
.footer-col ul li a:hover { color: #fff; }
.contact-list li { font-size: 13px; margin-bottom: 8px; }

/* 联系我们单行居中 */
.footer-contact-line { display: flex; align-items: center; justify-content: center; gap: 15px; white-space: nowrap; }
.footer-contact-line h4 { margin: 0; }
.footer-contact-line span { font-size: 13px; color: #94a3b8; }
.footer-bottom { border-top: 1px solid #334155; padding: 15px 0; text-align: center; font-size: 12px; }

/* ========== 移动端按钮（桌面端隐藏） ========== */
.mobile-actions { display: none; align-items: center; gap: 10px; }
.mobile-search-btn { background: none; border: none; font-size: 20px; cursor: pointer; padding: 6px; border-radius: 6px; transition: background .2s; }
.mobile-search-btn:hover { background: #f1f5f9; }
.hamburger { background: none; border: none; cursor: pointer; padding: 6px; display: flex; flex-direction: column; gap: 5px; border-radius: 6px; transition: background .2s; }
.hamburger:hover { background: #f1f5f9; }
.hamburger span { display: block; width: 24px; height: 2px; background: #1e293b; border-radius: 2px; transition: all .3s; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========== 响应式 ========== */
@media (max-width: 900px) {
    /* 顶部栏精简 */
    .top-bar .container > span:first-child { display: none; }
    .top-bar-right { margin-left: auto; }

    /* 头部 */
    .header-inner { flex-wrap: nowrap; height: 60px; padding: 0; gap: 10px; }
    .logo { flex: 1; }
    .logo-sub { display: none; }

    /* 桌面导航和搜索默认隐藏 */
    .main-nav { display: none; position: absolute; top: 60px; left: 0; right: 0; background: #fff; border-bottom: 1px solid #e2e8f0; box-shadow: 0 4px 12px rgba(0,0,0,.08); z-index: 100; }
    .main-nav.open { display: block; }
    .main-nav > ul { flex-direction: column; gap: 0; }
    .main-nav > ul > li > a { padding: 14px 20px; border-bottom: 1px solid #f1f5f9; }
    .main-nav .dropdown { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: #f8fafc; min-width: auto; }
    .main-nav .has-dropdown:hover .dropdown { display: block; }
    .main-nav .dropdown li a { padding: 12px 20px 12px 40px; }

    /* 搜索框默认隐藏，展开时显示 */
    .search-box { display: none; position: absolute; top: 60px; left: 0; right: 0; background: #fff; padding: 12px 15px; border-bottom: 1px solid #e2e8f0; box-shadow: 0 4px 12px rgba(0,0,0,.08); z-index: 99; }
    .search-box.open { display: block; }
    .search-box form { width: 100%; }
    .search-box input { flex: 1; }

    /* 显示移动端按钮 */
    .mobile-actions { display: flex; }

    .footer-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .help-layout { grid-template-columns: 1fr; }
    .hero-banner h1 { font-size: 22px; }
    .hero-banner { padding: 15px 20px; }
    .detail-hero { flex-direction: column; text-align: center; }
    .detail-hero .soft-icon { margin: 0 auto; }
    .detail-hero .soft-info .soft-header { flex-direction: column; gap: 12px; }
    .detail-hero .soft-info .stats { justify-content: center; }
    .register-section { padding: 20px; }
    .price-grid { grid-template-columns: 1fr; }
    .version-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .software-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .detail-wrap { padding: 20px; }
    .chat-messages { min-height: 300px; }
    .screenshot-gallery { grid-template-columns: 1fr; }
    .top-bar { font-size: 12px; }
    .top-bar-right a { margin-left: 10px; }
}

/* 软件截图图集 */
.screenshot-gallery { display: flex; flex-direction: column; gap: 20px; margin-top: 10px; }
.screenshot-item { width: 100%; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,.08); background: #f8fafc; transition: transform .25s, box-shadow .25s; }
.screenshot-item:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0,0,0,.15); }
.screenshot-link { display: block; }
.screenshot-link img { width: 100%; height: auto; display: block; }

/* ========== 软件注册页 ========== */
.register-intro { background: linear-gradient(135deg, #eff6ff, #dbeafe); border-radius: 10px; padding: 20px 25px; margin-bottom: 25px; }
.register-intro p { font-size: 16px; color: #1e40af; margin: 0; line-height: 1.8; }

.register-section { background: #fff; border-radius: 12px; padding: 30px; margin-bottom: 25px; box-shadow: 0 1px 4px rgba(0,0,0,.05); }
.register-title { font-size: 22px; color: #1e293b; margin: 0 0 18px; display: flex; align-items: center; gap: 12px; }
.register-title .num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: linear-gradient(135deg, #2563eb, #3b82f6); color: #fff; border-radius: 50%; font-size: 16px; font-weight: bold; flex-shrink: 0; }
.register-desc { font-size: 14px; color: #475569; line-height: 2; margin-bottom: 25px; }
.text-blue { color: #2563eb; }

/* 价格卡片 */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-bottom: 20px; }
.price-card { border: 1px solid #e2e8f0; border-radius: 10px; overflow: hidden; transition: box-shadow .25s, transform .25s; }
.price-card:hover { box-shadow: 0 8px 25px rgba(0,0,0,.1); transform: translateY(-3px); }
.price-card-header { background: linear-gradient(135deg, #1e3a8a, #2563eb); color: #fff; padding: 20px; text-align: center; }
.price-card-header h3 { font-size: 18px; margin: 0 0 6px; }
.price-card-header p { font-size: 12px; opacity: .85; margin: 0; }
.price-options { padding: 20px; display: flex; flex-direction: column; gap: 15px; }
.price-option { border: 1px solid #e2e8f0; border-radius: 8px; padding: 15px; text-align: center; transition: border-color .2s; }
.price-option:hover { border-color: #2563eb; }
.option-name { font-size: 15px; font-weight: bold; color: #1e293b; margin-bottom: 4px; }
.option-desc { font-size: 12px; color: #64748b; margin-bottom: 10px; line-height: 1.5; }
.option-price { font-size: 28px; font-weight: bold; color: #ef4444; margin-bottom: 12px; }
.option-price .symbol { font-size: 16px; vertical-align: top; margin-right: 2px; }
.btn-buy { display: block; background: linear-gradient(135deg, #2563eb, #3b82f6); color: #fff !important; padding: 10px; border-radius: 6px; font-size: 14px; font-weight: bold; text-decoration: none; transition: opacity .2s; }
.btn-buy:hover { opacity: .9; }

.register-note { background: #fffbeb; border-left: 4px solid #f59e0b; border-radius: 0 8px 8px 0; padding: 15px 20px; margin-top: 20px; }
.register-note p { font-size: 13px; color: #92400e; line-height: 1.9; margin: 0; }

/* 版本说明 */
.version-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.version-card { border: 1px solid #e2e8f0; border-radius: 10px; padding: 25px; text-align: center; transition: box-shadow .25s, transform .25s; }
.version-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.08); transform: translateY(-2px); }
.version-card.highlight { border-color: #2563eb; background: #f0f7ff; }
.version-icon { font-size: 36px; margin-bottom: 12px; }
.version-card h3 { font-size: 17px; color: #1e293b; margin: 0 0 12px; }
.version-card p { font-size: 13px; color: #64748b; line-height: 1.9; margin: 0; text-align: left; }

/* 保修说明 */
.warranty-box { background: #f8fafc; border-radius: 10px; padding: 20px 25px; }
.warranty-box ol { margin: 0; padding-left: 20px; }
.warranty-box li { font-size: 14px; color: #475569; line-height: 2; margin-bottom: 5px; }

@media (max-width: 768px) {
    .register-section { padding: 20px; }
    .price-grid { grid-template-columns: 1fr; }
    .version-grid { grid-template-columns: 1fr; }
}
