/* ========================================
   桌面工具箱 - Desktop Toolbox 产品页
   遵循 index 模块的 CSS 组织风格
   ======================================== */

/* ------ Reset & Base ------ */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: #f0f4f8;
    color: #333;
    line-height: 1.6;
    font-size: 15px;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ol, ul { list-style: none; }

/* ------ Container ------ */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ------ Header / Nav ------ */
#header {
    background: #fff;
    box-shadow: 0 1px 8px rgba(0,0,0,.06);
    position: sticky;
    top: 0;
    z-index: 999;
}
.navbox {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    height: 64px;
}
.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}
.logo-text {
    font-size: 18px;
    font-weight: 700;
    color: #1a73e8;
}
.logo-text em {
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    color: #999;
    margin-left: 6px;
}

/* ------ Hero Banner ------ */
.hero {
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255,255,255,.04);
}
.hero-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 1;
}
.hero-text { flex: 1; color: #fff; }
.hero-img {
    flex: 0 0 480px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.hero-img img { width: 100%; }
.free-badge {
    display: inline-block;
    background: rgba(76,175,80,.25);
    border: 2px solid rgba(76,175,80,.45);
    color: #a5d6a7;
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
}
.hero-text h1 {
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -1px;
}
.hero-text h1 span {
    font-size: 18px;
    font-weight: 400;
    opacity: .75;
    display: block;
    margin-top: 2px;
}
.hero-desc {
    font-size: 18px;
    opacity: .9;
    margin-top: 12px;
}
.hero-sub {
    font-size: 15px;
    opacity: .7;
    margin-top: 8px;
}
.hero-btns {
    margin-top: 28px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.hero-btns .btn-dl,
.hero-btns .btn-log {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: all .3s;
}
.btn-dl {
    background: #fff;
    color: #1a73e8;
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.btn-dl:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,.25); }
.btn-log {
    background: rgba(255,255,255,.15);
    color: #fff;
    border: 2px solid rgba(255,255,255,.3);
}
.btn-log:hover { background: rgba(255,255,255,.25); }

/* ------ Section 通用 ------ */
section { padding: 70px 0; }
section.bg-light { background: #fff; }
.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1a73e8;
}
.section-sub {
    text-align: center;
    color: #888;
    font-size: 16px;
    margin-bottom: 48px;
}

/* ------ Features ------ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}
.feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 36px 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,.05);
    transition: transform .3s, box-shadow .3s;
    border: 1px solid rgba(0,0,0,.04);
}
.bg-light .feature-card {
    background: #f8fafc;
    border-color: rgba(26,115,232,.06);
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(26,115,232,.12);
}
.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
}
.feature-card h3 {
    font-size: 19px;
    margin-bottom: 8px;
    color: #222;
}
.feature-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}

/* ------ Screenshot ------ */
.screenshot-wrap {
    text-align: center;
}
.screenshot-full {
    width: 100%;
    max-width: 960px;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0,0,0,.18);
    border: 3px solid #fff;
    margin: 0 auto;
}

/* ------ Download ------ */
.download-section {
    background: linear-gradient(135deg, #1a73e8 0%, #1565c0 100%);
    color: #fff;
    text-align: center;
    padding: 70px 20px;
}
.download-section .section-title,
.download-section .section-sub { color: #fff; }
.download-section .section-sub { opacity: .8; }
.love-text {
    font-size: 18px;
    opacity: .9;
    margin-bottom: 28px;
}
.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #1a73e8;
    font-size: 18px;
    font-weight: 700;
    padding: 16px 44px;
    border-radius: 50px;
    transition: all .3s;
    box-shadow: 0 8px 28px rgba(0,0,0,.2);
}
.btn-download:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 38px rgba(0,0,0,.3);
}
.ver-note {
    margin-top: 14px;
    font-size: 13px;
    opacity: .65;
}

/* ------ Changelog ------ */
.changelog-list {
    max-width: 720px;
    margin: 0 auto;
}
.changelog-item {
    border-left: 3px solid #1a73e8;
    padding: 18px 0 18px 26px;
    margin-left: 6px;
    position: relative;
}
.changelog-item::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 24px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #1a73e8;
    border: 3px solid #f0f4f8;
}
.changelog-item + .changelog-item {
    border-left-color: #90caf9;
    padding-top: 24px;
}
.changelog-item + .changelog-item::before {
    background: #64b5f6;
}
.cl-ver {
    font-weight: 700;
    font-size: 17px;
    color: #1a73e8;
    margin-bottom: 4px;
}
.cl-date {
    font-size: 12px;
    color: #aaa;
    margin-bottom: 10px;
}
.cl-body { font-size: 14px; color: #555; }
.cl-body li {
    padding: 3px 0;
    position: relative;
    padding-left: 16px;
}
.cl-body li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #1a73e8;
}
.cl-new { color: #43a047; }
.cl-fix { color: #e65100; }
.cl-opt { color: #1a73e8; }

/* ------ Footer ------ */
footer {
    background: #eef2f6;
    text-align: center;
    padding: 36px 20px;
    color: #888;
    font-size: 13px;
    line-height: 2;
}
footer .top {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1a73e8;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 16px auto 0;
    font-size: 18px;
    cursor: pointer;
    transition: opacity .3s;
}
footer .top:hover { opacity: .8; }
footer .top::before { content: '↑'; }

/* ------ Responsive ------ */
@media (max-width: 900px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    .hero-img { flex: 0 0 auto; max-width: 480px; width: 100%; }
    .hero-text h1 { font-size: 32px; }
    .hero-btns { justify-content: center; }
    .features-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .hero { padding: 50px 0; }
    .hero-text h1 { font-size: 26px; }
    .hero-text h1 span { font-size: 14px; }
    .section-title { font-size: 24px; }
    section { padding: 44px 0; }
}
