/* ========== 重置 & 基础 ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Microsoft YaHei', 'PingFang SC', Arial, sans-serif; background: #f5f7fa; color: #333; line-height: 1.6; }
a { text-decoration: none; color: #4a6cf7; }
a:hover { color: #3a56d4; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
img { max-width: 100%; display: block; }

/* ========== 导航 ========== */
.header { background: linear-gradient(135deg, #1a1a2e, #16213e); color: #fff; padding: 15px 0; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.header .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.logo a { font-size: 24px; font-weight: 700; color: #fff; letter-spacing: 2px; }
.logo a:hover { color: #6c8cff; }
.nav { display: flex; gap: 30px; }
.nav a { color: rgba(255,255,255,0.8); font-size: 16px; padding: 5px 0; border-bottom: 2px solid transparent; transition: all 0.3s; }
.nav a:hover, .nav a.active { color: #fff; border-bottom-color: #4a6cf7; }

/* ========== 导航栏QQ下拉菜单 ========== */
.header-contact { position: relative; }
.qq-dropdown { position: relative; display: inline-block; }
.qq-dropdown .qq-btn { background: #4a6cf7; color: #fff; padding: 8px 20px; border-radius: 20px; font-size: 14px; cursor: pointer; transition: background 0.3s; display: inline-block; }
.qq-dropdown .qq-btn:hover { background: #3a56d4; color: #fff; }
.qq-dropdown-menu { display: none; position: absolute; right: 0; top: 110%; background: #fff; min-width: 180px; box-shadow: 0 8px 20px rgba(0,0,0,0.15); border-radius: 8px; padding: 8px 0; z-index: 999; }

/* 下拉菜单中的QQ选项 */
.qq-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    color: #333 !important;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
    text-align: left;
    transition: background 0.2s;
}
.qq-dropdown-menu a:last-child { border-bottom: none; }
.qq-dropdown-menu a:hover { background: #f0f4ff; color: #4a6cf7 !important; }

.qq-menu-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #e8edf5;
    flex-shrink: 0;
}
.qq-menu-info {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}
.qq-menu-number {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}
.qq-menu-role {
    font-size: 11px;
    color: #999;
}
.qq-dropdown-menu a:hover .qq-menu-number { color: #4a6cf7; }
.qq-dropdown:hover .qq-dropdown-menu { display: block; }

/* ========== 公告栏 ========== */
.notice-bar { background: #fff3cd; border-bottom: 2px solid #ffc107; padding: 10px 0; }
.notice-bar .container { display: flex; align-items: center; gap: 12px; }
.notice-icon { font-size: 20px; }
.notice-text { color: #856404; }

/* ========== 轮播图 ========== */
.banner-slider { position: relative; overflow: hidden; max-height: 450px; }
.banner-wrapper { display: flex; transition: transform 0.5s ease; }
.banner-item { min-width: 100%; }
.banner-item img { width: 100%; max-height: 450px; object-fit: cover; }
.banner-prev, .banner-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.5); color: #fff; border: none; padding: 15px 20px; cursor: pointer; font-size: 24px; border-radius: 50%; transition: background 0.3s; z-index: 10; }
.banner-prev { left: 20px; }
.banner-next { right: 20px; }
.banner-prev:hover, .banner-next:hover { background: rgba(0,0,0,0.8); }
.banner-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 10; }
.banner-dots .dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: background 0.3s; }
.banner-dots .dot.active { background: #4a6cf7; }

/* ========== 通用标题 ========== */
.section-title { font-size: 32px; text-align: center; margin-bottom: 10px; }
.section-subtitle { text-align: center; color: #888; font-size: 16px; margin-bottom: 40px; }

/* ========== 价格表格 ========== */
.rent-preview, .rent-full { padding: 60px 0; }
.table-wrap { overflow-x: auto; }
.price-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 15px rgba(0,0,0,0.06); }
.price-table th { background: #1a1a2e; color: #fff; padding: 14px 16px; text-align: center; font-weight: 600; }
.price-table td { padding: 12px 16px; text-align: center; border-bottom: 1px solid #eee; }
.price-table tbody tr:hover { background: #f8f9ff; }
.price-table .extra { color: #4a6cf7; font-size: 13px; }

/* ========== 程序版本卡片 ========== */
.buy-preview, .buy-full { padding: 60px 0; }
.version-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.version-card { background: #fff; border-radius: 12px; padding: 25px; box-shadow: 0 2px 15px rgba(0,0,0,0.06); transition: transform 0.3s; border-top: 4px solid #4a6cf7; }
.version-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.version-card h3 { font-size: 20px; color: #1a1a2e; margin-bottom: 15px; }
.version-info p { padding: 4px 0; font-size: 14px; }
.version-info .label { color: #888; }
.version-price { font-size: 18px; margin-top: 10px; }
.version-price strong { color: #e74c3c; font-size: 22px; }
.version-features { margin-top: 12px; padding-top: 12px; border-top: 1px solid #eee; color: #666; font-size: 14px; }

/* ========== 联系我们 ========== */
.contact-section { padding: 60px 0 80px; background: #f8f9fa; }
.contact-qq-grid { display: flex; justify-content: center; align-items: stretch; gap: 40px; max-width: 780px; margin: 0 auto; flex-wrap: wrap; }
.qq-item { text-align: center; background: #ffffff; padding: 30px 28px 24px; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); transition: all 0.3s ease; min-width: 140px; flex: 0 1 auto; width: 180px; border: 1px solid #f0f0f0; }
.qq-item:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(74,108,247,0.12); border-color: #4a6cf7; }
.qq-avatar { display: flex; justify-content: center; margin-bottom: 10px; }
.qq-avatar img { width: 72px; height: 72px; border-radius: 50%; border: 3px solid #e8edf5; object-fit: cover; transition: border-color 0.3s; }
.qq-item:hover .qq-avatar img { border-color: #4a6cf7; }
.qq-info { display: flex; flex-direction: column; align-items: center; }
.qq-info h3 { font-size: 16px; color: #1a1a2e; margin: 0 0 2px 0; font-weight: 600; }
.qq-info p { color: #999; font-size: 13px; margin: 0 0 14px 0; }
.qq-info .btn-qq { padding: 6px 22px; font-size: 13px; border-radius: 20px; background: #4a6cf7; color: #fff; display: inline-block; transition: all 0.3s; text-decoration: none; border: none; cursor: pointer; }
.qq-info .btn-qq:hover { background: #3a56d4; transform: scale(1.04); box-shadow: 0 4px 15px rgba(74,108,247,0.35); color: #fff; }
.contact-footer { text-align: center; margin-top: 25px; color: #aaa; font-size: 13px; letter-spacing: 1px; }

/* ========== 关于页客服列表 ========== */
.qq-list { display: flex; flex-direction: column; gap: 10px; margin-top: 15px; }
.qq-contact-item { display: flex; align-items: center; gap: 15px; padding: 10px 15px; background: #fff; border-radius: 8px; border: 1px solid #eee; }
.qq-avatar-small { width: 40px; height: 40px; border-radius: 50%; }
.qq-contact-item .btn-sm { margin-left: auto; padding: 4px 15px; font-size: 12px; }

/* ========== 按钮 ========== */
.btn { display: inline-block; padding: 12px 30px; border-radius: 25px; font-size: 16px; font-weight: 600; border: none; cursor: pointer; transition: all 0.3s; text-align: center; }
.btn-primary { background: #4a6cf7; color: #fff; }
.btn-primary:hover { background: #3a56d4; color: #fff; transform: translateY(-2px); box-shadow: 0 5px 20px rgba(74,108,247,0.4); }
.btn-qq { background: #12b7f5; color: #fff; }
.btn-qq:hover { background: #0d9fd9; color: #fff; transform: translateY(-2px); box-shadow: 0 5px 20px rgba(18,183,245,0.4); }
.btn-sm { padding: 6px 18px; font-size: 13px; border-radius: 20px; }
.text-center { text-align: center; }

/* ========== 服务说明 ========== */
.service-notice { background: #f8f9fa; border-radius: 12px; padding: 30px; margin-top: 40px; border-left: 4px solid #4a6cf7; }
.service-notice h3 { margin-bottom: 15px; }
.service-notice ul { padding-left: 20px; }
.service-notice li { padding: 4px 0; color: #555; }

/* ========== 关于我们 ========== */
.about-section { padding: 60px 0; }
.about-text { background: #fff; padding: 30px; border-radius: 12px; box-shadow: 0 2px 15px rgba(0,0,0,0.06); line-height: 2; }
.contact-info { margin-top: 40px; background: #f8f9fa; padding: 30px; border-radius: 12px; }
.contact-info ul { list-style: none; padding: 0; }
.contact-info li { padding: 8px 0; font-size: 16px; }

/* ========== 页面横幅 ========== */
.page-banner { background: linear-gradient(135deg, #1a1a2e, #2d3561); color: #fff; padding: 60px 0; text-align: center; }
.page-banner h1 { font-size: 40px; margin-bottom: 10px; }
.page-banner p { color: rgba(255,255,255,0.7); font-size: 18px; }

/* ========== 页脚 ========== */
.footer { background: #1a1a2e; color: rgba(255,255,255,0.6); text-align: center; padding: 25px 0; font-size: 14px; margin-top: 20px; }

/* ========== 响应式 ========== */
@media (max-width: 768px) {
    .nav { gap: 15px; flex-wrap: wrap; justify-content: center; margin: 10px 0; }
    .version-grid { grid-template-columns: 1fr; }
    .banner-slider { max-height: 250px; }
    .banner-item img { max-height: 250px; }
    .section-title { font-size: 24px; }
    .page-banner h1 { font-size: 28px; }
    .header .container { flex-direction: column; }
    .price-table th, .price-table td { padding: 8px 6px; font-size: 13px; }
    .banner-prev, .banner-next { padding: 8px 12px; font-size: 16px; }
    .contact-qq-grid { gap: 16px; }
    .qq-item { width: 150px; padding: 20px 16px 18px; }
    .qq-avatar img { width: 56px; height: 56px; }
    .qq-info h3 { font-size: 14px; }
    .qq-info p { font-size: 12px; }
    .qq-info .btn-qq { padding: 4px 16px; font-size: 12px; }
}
@media (max-width: 480px) {
    .contact-qq-grid { flex-direction: column; align-items: center; }
    .qq-item { width: 180px; }
}