/* ============================================================
   佳音工作室网站 - 前台样式
   风格：沉稳（深蓝主色）+ 明亮（白色内容区）+ 科技（渐变点缀）
   音乐元素：五线谱纹理、音符图标
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font: 14px/1.7 "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    color: #333;
    background: #EDF2F7 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="240" height="240"><g fill="none" stroke="%23D7E3F0" stroke-width="1"><path d="M0 40h240M0 60h240M0 80h240M0 100h240M0 120h240"/></g><text x="30" y="96" font-size="26" fill="%23E3EDF7">&#9834;</text><text x="150" y="130" font-size="34" fill="%23E8F1FA">&#9835;</text></svg>');
}
a { color: #1B5E9E; text-decoration: none; }
a:hover { color: #E85D22; }
ul, ol { list-style: none; }
.wrap { width: 1000px; margin: 0 auto; }
.top-line { height: 4px; background: linear-gradient(90deg, #0F2B4C, #1E88C7, #0F2B4C); }

/* ---- 顶部 ---- */
.site-header {
    background: linear-gradient(180deg, #10365F 0%, #14406E 55%, #16497D 100%);
    border-bottom: 1px solid #0B2440;
    position: relative;
    overflow: hidden;
}
.site-header:before {
    content: "";
    position: absolute; left: 0; right: 0; top: 0; bottom: 0;
    background: repeating-linear-gradient(180deg, rgba(255,255,255,.05) 0, rgba(255,255,255,.05) 1px, transparent 1px, transparent 12px);
}
.site-header .wrap { position: relative; height: 108px; display: flex; align-items: center; justify-content: space-between; }
.logo-box { display: flex; align-items: center; }
.logo-note {
    width: 58px; height: 58px; margin-right: 14px;
    background: linear-gradient(135deg, #1E88C7, #2FB7E9);
    border-radius: 12px; color: #fff; font-size: 34px; line-height: 58px;
    text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,.35);
}
.logo-name { font-size: 30px; font-weight: bold; color: #FFFFFF; letter-spacing: 3px; }
.logo-sub { font-size: 12px; color: #9FC3E4; letter-spacing: 1px; }
.head-right { text-align: right; }
.head-tel { font-size: 18px; color: #FFD289; font-weight: bold; }
.head-sub { font-size: 12px; color: #8FB4D8; }

/* ---- 导航 ---- */
.site-nav { background: linear-gradient(180deg, #F8FBFE, #E4EEF8); border-bottom: 3px solid #1E88C7; box-shadow: 0 2px 6px rgba(15,43,76,.12); }
.site-nav ul { display: flex; }
.site-nav li { flex: 1; text-align: center; border-right: 1px solid #D4E2F0; }
.site-nav li:last-child { border-right: 0; }
.site-nav a {
    display: block; padding: 13px 0; font-size: 16px; font-weight: bold;
    color: #14406E; letter-spacing: 1px;
}
.site-nav a:hover, .site-nav a.on { color: #fff; background: linear-gradient(180deg, #1E88C7, #1465A6); }

/* ---- 主区 ---- */
.main { background: #fff; margin-top: 14px; margin-bottom: 20px; padding: 20px; box-shadow: 0 2px 10px rgba(15,43,76,.10); min-height: 480px; }
.page-title {
    font-size: 21px; font-weight: bold; color: #10365F; letter-spacing: 2px;
    padding: 12px 46px 12px 18px; margin-bottom: 18px;
    background: linear-gradient(90deg, #E8F2FB 0%, #FBFDFF 65%, #FFFFFF 100%);
    border-left: 4px solid #1E88C7;
    border-bottom: 1px solid #E1EBF5;
    border-radius: 0 4px 0 0;
    position: relative;
    text-shadow: 0 1px 0 #FFFFFF;
}
.page-title:after {
    content: "♫ ♪";
    position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
    color: #BCD8EF; font-size: 18px; letter-spacing: 6px; font-weight: normal;
}
.crumb {
    font-size: 13px; color: #7A8BA0; margin-bottom: 12px;
    background: #F4F8FC; border: 1px solid #E1EBF5; border-radius: 4px;
    padding: 5px 12px; display: inline-block;
}
.crumb a { color: #1B5E9E; }
.crumb a:hover { color: #E85D22; }

/* ---- 首页 ---- */
.banner { margin-top: 14px; }
.banner-box { position: relative; height: 300px; border-radius: 6px; overflow: hidden; box-shadow: 0 3px 12px rgba(15,43,76,.18); }
.banner-box a { display: block; width: 100%; height: 100%; background-size: cover; background-position: center; }
.banner-title {
    position: absolute; left: 0; bottom: 0; right: 0; padding: 10px 18px;
    background: rgba(10,30,55,.65); color: #fff; font-size: 18px;
}
.banner-dots { text-align: center; margin-top: 8px; }
.banner-dots i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: #C3D4E5; margin: 0 4px; cursor: pointer; }
.banner-dots i.on { background: #1E88C7; }

.home-grid { display: flex; gap: 16px; margin-top: 16px; }
.home-col { flex: 1; }
.panel { border: 1px solid #DCE7F2; border-radius: 4px; background: #fff; margin-bottom: 16px; }
.panel-hd {
    padding: 10px 14px; font-size: 16px; font-weight: bold; color: #14406E;
    background: linear-gradient(180deg, #F4F9FD, #E7F0F9);
    border-bottom: 1px solid #DCE7F2;
    display: flex; justify-content: space-between; align-items: center;
}
.panel-hd .more { font-size: 12px; font-weight: normal; }
.panel-bd { padding: 10px 14px; }
.news-list li { padding: 7px 0; border-bottom: 1px dashed #E3EBF3; display: flex; }
.news-list li:last-child { border-bottom: 0; }
.news-list .dot { color: #1E88C7; margin-right: 8px; }
.news-list .date { color: #E85D22; font-size: 12px; margin-left: auto; padding-left: 10px; white-space: nowrap; }
.prod-grid { display: flex; flex-wrap: wrap; gap: 14px; }
.prod-card {
    width: 232px; border: 1px solid #DCE7F2; border-radius: 6px; padding: 12px;
    background: linear-gradient(180deg, #FDFEFF, #F2F8FD);
    transition: box-shadow .2s;
}
.prod-card:hover { box-shadow: 0 4px 12px rgba(30,136,199,.25); }
.prod-card .pic { height: 130px; background: #F0F5FA center center no-repeat; background-size: contain; border-radius: 4px; margin-bottom: 10px; display: flex; align-items: center; justify-content: center; font-size: 40px; color: #9FC3E4; }
.prod-card h3 { font-size: 15px; color: #14406E; margin-bottom: 6px; }
.prod-card p { font-size: 12px; color: #777; line-height: 1.6; }
.about-text { text-align: justify; }
.about-music { font-size: 22px; color: #1E88C7; letter-spacing: 8px; text-align: center; margin: 10px 0; }

/* ---- 通用列表 ---- */
.art-list li { padding: 10px 12px; border-bottom: 1px dashed #E3EBF3; display: flex; align-items: center; transition: background .15s; border-radius: 3px; }
.art-list li:hover { background: #F2F8FD; }
.art-list li:last-child { border-bottom: 0; }
.art-list .dot { color: #5EA6D8; margin-right: 10px; font-size: 14px; transition: color .15s; }
.art-list li:hover .dot { color: #1E88C7; }
.art-list a { font-size: 15px; color: #2A5788; transition: color .15s; }
.art-list li:hover a { color: #10365F; }
.art-list .date {
    color: #6E8BAD; font-size: 12px; margin-left: auto; padding: 1px 10px 1px 12px;
    background: #EFF5FB; border-radius: 10px; white-space: nowrap;
}
.art-content { padding: 6px 10px; line-height: 1.9; word-wrap: break-word; }
.art-content img { max-width: 100%; }

/* ---- 侧栏 ---- */
.with-side { display: flex; gap: 18px; }
.side { width: 240px; flex: none; }
.content { flex: 1; min-width: 0; }
.side-box { border: 1px solid #DCE7F2; border-radius: 4px; margin-bottom: 14px; overflow: hidden; }
.side-hd { padding: 9px 12px; font-size: 15px; font-weight: bold; color: #14406E; background: linear-gradient(180deg, #F4F9FD, #E7F0F9); border-bottom: 1px solid #DCE7F2; }
.side-bd { padding: 8px 12px; }
.side-bd li { padding: 5px 0; border-bottom: 1px dashed #EDF2F7; }
.side-bd li:last-child { border-bottom: 0; }
.contact-side { font-size: 13px; color: #555; }
.contact-side p { padding: 3px 0; }

/* ---- 下载中心 ---- */
.down-table { width: 100%; border-collapse: collapse; }
.down-table th, .down-table td { border-bottom: 1px solid #E3EBF3; padding: 10px 8px; text-align: left; }
.down-table th { background: #F0F7FD; color: #14406E; font-size: 13px; }
.down-table td.title a { font-weight: bold; }
.btn {
    display: inline-block; padding: 3px 12px; border-radius: 3px; font-size: 12px;
    background: linear-gradient(180deg, #2FA0DE, #1465A6); color: #fff !important;
}
.btn:hover { opacity: .85; }

/* ---- 注册购买 ---- */
.pay-box { border: 1px solid #DCE7F2; border-radius: 4px; padding: 14px 18px; margin-bottom: 12px; background: #FBFDFF; }
.pay-box h3 { color: #14406E; margin-bottom: 6px; font-size: 15px; }
.pay-box .acc { font-size: 16px; color: #E85D22; font-weight: bold; font-family: Consolas, monospace; }

/* ---- 留言板 ---- */
.gbook-item { border: 1px solid #DCE7F2; border-radius: 4px; margin-bottom: 12px; overflow: hidden; }
.gbook-hd { padding: 8px 12px; background: #F0F7FD; font-size: 13px; color: #14406E; }
.gbook-hd b { color: #E85D22; }
.gbook-hd .time { float: right; color: #999; font-weight: normal; }
.gbook-bd { padding: 10px 12px; }
.gbook-reply { margin-top: 8px; padding: 8px 12px; background: #F4FBF4; border-left: 3px solid #6FBF6F; color: #4a7a4a; }
.gbook-form { border: 1px solid #DCE7F2; border-radius: 4px; padding: 16px; background: #FBFDFF; }
.gbook-form label { display: inline-block; width: 70px; color: #555; }
.gbook-form .row { margin-bottom: 10px; }
.gbook-form input[type=text], .gbook-form textarea {
    border: 1px solid #C9D9E8; border-radius: 3px; padding: 6px 8px; width: 320px; font: 13px/1.5 Arial, sans-serif;
}
.gbook-form textarea { width: 520px; height: 110px; }
.btn-big { padding: 8px 30px; font-size: 14px; border: 0; cursor: pointer; border-radius: 4px; background: linear-gradient(180deg, #2FA0DE, #1465A6); color: #fff; }
.btn-big:hover { opacity: .9; }
.msg-ok { padding: 10px 14px; background: #F4FBF4; border: 1px solid #BFE3BF; color: #3a7a3a; border-radius: 4px; margin-bottom: 12px; }

/* ---- FAQ ---- */
.faq-item { border: 1px solid #DCE7F2; border-radius: 4px; margin-bottom: 10px; }
.faq-q { padding: 9px 14px; background: #F0F7FD; font-weight: bold; color: #14406E; cursor: pointer; }
.faq-q:before { content: "Q "; color: #1E88C7; font-size: 16px; }
.faq-a { padding: 10px 14px; color: #555; display: none; border-top: 1px solid #EDF2F7; }
.faq-a:before { content: "A "; color: #E85D22; font-weight: bold; }

/* ---- 产品详情 ---- */
.prod-view-hd { border-bottom: 2px solid #1E88C7; padding-bottom: 10px; margin-bottom: 12px; }
.prod-view-hd h1 { font-size: 22px; color: #14406E; }
.prod-view-hd .meta { font-size: 12px; color: #999; margin-top: 4px; }

/* ---- 分页 ---- */
.pager { text-align: center; padding: 14px 0 4px; }
.pager a, .pager .cur { display: inline-block; min-width: 26px; padding: 3px 8px; margin: 0 3px; border: 1px solid #C9D9E8; border-radius: 3px; font-size: 13px; }
.pager a { background: #fff; }
.pager .cur { background: #1E88C7; border-color: #1E88C7; color: #fff; }
.pager .info { margin-left: 8px; color: #999; font-size: 12px; }

/* ---- 页脚 ---- */
.site-foot { background: linear-gradient(180deg, #10365F, #0C2A4B); color: #A9C6E2; padding-bottom: 24px; }
.foot-staff {
    height: 34px;
    background: repeating-linear-gradient(180deg, transparent 0, transparent 7px, rgba(255,255,255,.10) 7px, rgba(255,255,255,.10) 8px);
    position: relative;
}
.foot-staff:after { content: "♫ ♬ ♪ ♩ ♫ ♪"; position: absolute; right: 40px; top: 4px; font-size: 20px; color: rgba(255,255,255,.18); letter-spacing: 12px; }
.foot-inner { padding-top: 18px; }
.foot-links { font-size: 13px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.12); margin-bottom: 12px; }
.foot-links a { color: #A9C6E2; margin-right: 6px; }
.foot-links a:hover { color: #fff; }
.foot-links .fl-label { color: #7FA6CC; }
.foot-info { font-size: 12px; text-align: center; line-height: 2; }

/* ---------- 下载中心：旧内容重排样式（内容与链接不变，仅外观） ---------- */
.down-table td.down-group { padding: 0 0 16px; border-bottom: none; }
.down-group-hd {
    padding: 9px 14px;
    font-size: 15px; font-weight: bold; color: #14406E;
    background: linear-gradient(180deg, #F4F9FD, #E7F0F9);
    border-left: 3px solid #2E9BD6;
    border-bottom: 1px solid #DCE7F2;
    letter-spacing: 1px;
}
.down-html { padding: 8px 14px 10px; line-height: 2; }
.down-html p { margin: 4px 0; }
/* 中和老式 <font> 标签的内联颜色/字号，统一交给主题样式 */
.down-html font { color: inherit !important; font-size: inherit !important; font-family: inherit !important; }
.down-html font[color="#0000ff"], .down-html font[color="#00008b"] { color: #1E6BB8 !important; }
.down-html font[color="#ff0000"], .down-html font[color="#dc143c"] { color: #D6363B !important; font-size: 12px !important; }
.down-html font[color="#000000"][face="黑体"] { color: #14406E !important; font-size: 14px !important; font-weight: bold; }
/* 链接做成带音符前缀的下载项 */
.down-html a {
    color: #1E6BB8; text-decoration: none; font-weight: 500;
    padding: 2px 6px; border-radius: 3px;
    transition: background .15s, color .15s;
}
.down-html a::before { content: "♪ "; color: #8FBCE2; }
.down-html a:hover { color: #10365F; background: #EAF4FC; }
.down-html a:hover::before { color: #1E6BB8; }
/* 老内容的 <hr> 分隔线改为浅色虚线 */
.down-html hr { border: none; border-top: 1px dashed #C9DAEA; margin: 12px 0; }
