/* ===== 全局变量：铂金黄 · 黑 · 白 ===== */
:root {
    --primary: #C9A961;              /* 铂金黄 - 主色 */
    --primary-dark: #A88B47;         /* 铂金黄 - 深 */
    --primary-light: #F5EFE0;        /* 铂金黄 - 浅背景 */
    --primary-glow: rgba(201,169,97,0.15);

    --dark: #1A1A1A;                 /* 主黑 - 标题/深色区块 */
    --dark-2: #2A2A2A;               /* 次黑 */

    --text: #333333;                 /* 正文 */
    --text-light: #767676;           /* 辅助文字 */

    --white: #FFFFFF;                /* 白 */
    --bg: #FAFAFA;                   /* 页面背景（近白） */
    --border: #E8E8E8;               /* 边框 */

    --shadow: 0 2px 12px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --radius: 8px;
    --radius-lg: 16px;
}

/* ===== 重置 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.8;
    font-size: 16px;
}
a { color: var(--primary-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

/* ===== 头部 ===== */
.site-header { background: var(--white); box-shadow: var(--shadow); position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid var(--border); }
.header-inner { max-width: 1240px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo-text { font-size: 26px; font-weight: 800; color: var(--primary-dark); letter-spacing: 2px; }

.main-nav ul { display: flex; gap: 8px; }
.main-nav > ul > li > a { display: block; padding: 8px 16px; color: var(--dark); font-weight: 500; border-radius: var(--radius); font-size: 15px; }
.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active { background: var(--primary-light); color: var(--primary-dark); }

/* 子菜单 */
.has-sub { position: relative; }
.sub-menu { position: absolute; top: 100%; left: 0; background: var(--white); box-shadow: 0 4px 20px rgba(0,0,0,0.12); border-radius: var(--radius); min-width: 180px; padding: 8px 0; z-index: 100; opacity: 0; visibility: hidden; transform: translateY(-6px); pointer-events: none; transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease; border: 1px solid var(--border); }
.has-sub::after { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 12px; pointer-events: none; }
.has-sub:hover .sub-menu, .has-sub.sub-open .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.sub-menu li a { display: block; padding: 10px 20px; color: var(--text); font-size: 14px; white-space: nowrap; }
.sub-menu li a:hover { background: var(--primary-light); color: var(--primary-dark); }

.header-actions { display: flex; gap: 10px; }

/* 按钮 */
.btn { display: inline-block; padding: 9px 22px; border-radius: 50px; font-size: 14px; font-weight: 600; text-align: center; cursor: pointer; border: 2px solid transparent; transition: all 0.25s; }
.btn-primary { background: var(--primary); color: var(--dark); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--primary-dark); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--dark); }
.btn-lg { padding: 14px 40px; font-size: 16px; }
.btn-white { background: var(--white); color: var(--dark); border-color: var(--white); }
.btn-white:hover { background: var(--primary); border-color: var(--primary); color: var(--dark); }

/* QQ 条 */
.header-qq { background: var(--dark); border-top: 1px solid var(--border); }
.header-qq-inner { max-width: 1240px; margin: 0 auto; padding: 6px 20px; text-align: right; }
.qq-link { font-size: 13px; color: var(--primary); display: inline-flex; align-items: center; gap: 6px; }
.qq-link:hover { color: var(--primary-light); }

/* 移动端菜单按钮 */
.mobile-menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-menu-toggle span { display: block; width: 24px; height: 2px; background: var(--dark); border-radius: 2px; }

/* ===== 通用 ===== */
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 32px; color: var(--dark); margin-bottom: 14px; position: relative; display: inline-block; font-weight: 700; }
.section-title h2::after { content: ''; display: block; width: 60px; height: 3px; background: var(--primary); margin: 14px auto 0; border-radius: 2px; }
.section-title p { font-size: 16px; color: var(--text-light); max-width: 640px; margin: 0 auto; }

/* ===== 页面 Banner ===== */
.page-banner {
    background: var(--dark);
    color: var(--white);
    padding: 70px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 4px solid var(--primary);
}
.page-banner::before { content: ''; position: absolute; top: -50px; right: -50px; width: 200px; height: 200px; background: rgba(201,169,97,0.12); border-radius: 50%; }
.page-banner::after { content: ''; position: absolute; bottom: -80px; left: -80px; width: 280px; height: 280px; background: rgba(201,169,97,0.08); border-radius: 50%; }
.page-banner h1 { font-size: 40px; font-weight: 700; margin-bottom: 14px; position: relative; z-index: 1; color: var(--white); }
.page-banner h1 span { color: var(--primary); }
.page-banner p { font-size: 17px; opacity: 0.9; position: relative; z-index: 1; }
.breadcrumb { margin-top: 16px; font-size: 14px; opacity: 0.85; position: relative; z-index: 1; }
.breadcrumb a { color: var(--primary); }
.breadcrumb span { margin: 0 8px; color: #666; }

/* ===== Hero ===== */
.hero {
    background: linear-gradient(135deg, #0D0D0D 0%, #1A1A1A 50%, #2A2A2A 100%);
    color: var(--white);
    padding: 100px 20px 80px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: -200px; right: -200px;
    width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(201,169,97,0.25) 0%, transparent 70%);
}
.hero::after {
    content: ''; position: absolute; bottom: -150px; left: -150px;
    width: 400px; height: 400px; border-radius: 50%;
    background: radial-gradient(circle, rgba(201,169,97,0.15) 0%, transparent 70%);
}
.hero-inner { max-width: 1240px; margin: 0 auto; position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.hero-content h1 { font-size: 44px; font-weight: 800; line-height: 1.25; margin-bottom: 20px; color: var(--white); }
.hero-content h1 span { color: var(--primary); }
.hero-content p { font-size: 17px; color: #B5B5B5; margin-bottom: 32px; line-height: 1.9; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual { position: relative; }
.hero-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(201,169,97,0.3);
    border-radius: 16px;
    padding: 30px;
    backdrop-filter: blur(10px);
}
.hero-card-title { display: flex; align-items: center; gap: 10px; font-size: 15px; color: #B5B5B5; margin-bottom: 18px; }
.hero-card-title .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 8px var(--primary); }
.hero-list { display: grid; gap: 12px; }
.hero-list-item { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; background: rgba(255,255,255,0.04); border-radius: 10px; border-left: 3px solid transparent; transition: border-color 0.2s; }
.hero-list-item:hover { border-left-color: var(--primary); }
.hero-list-item .name { font-size: 14px; color: #DDD; }
.hero-list-item .price { font-size: 15px; font-weight: 700; color: var(--primary); }

/* ===== 数据统计条 ===== */
.stats-bar {
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: 16px;
    padding: 30px 20px;
    margin-top: -60px;
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    border-top: 4px solid var(--primary);
}
.stat-item { text-align: center; padding: 10px 8px; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-num { font-size: 34px; font-weight: 800; color: var(--primary-dark); line-height: 1.2; }
.stat-num span { font-size: 20px; }
.stat-label { font-size: 14px; color: var(--text-light); margin-top: 6px; }

/* ===== 卡片 ===== */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 26px; }
.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 34px 28px;
    box-shadow: var(--shadow);
    transition: transform 0.25s, box-shadow 0.25s;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card:hover::before { transform: scaleX(1); }
.card-icon {
    width: 62px; height: 62px;
    background: var(--primary-light);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-dark);
    transition: all 0.25s;
}
.card:hover .card-icon { background: var(--primary); color: var(--dark); }
.card h3 { font-size: 19px; color: var(--dark); margin-bottom: 12px; font-weight: 700; }
.card p { font-size: 14.5px; color: var(--text-light); line-height: 1.8; }

/* ===== 三步流程 ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; position: relative; }
.step { text-align: center; padding: 20px; position: relative; }
.step-num {
    width: 70px; height: 70px;
    margin: 0 auto 20px;
    background: var(--white);
    border: 3px solid var(--primary);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; font-weight: 800;
    box-shadow: 0 0 0 8px var(--primary-light);
}
.step h3 { font-size: 18px; color: var(--dark); margin-bottom: 10px; }
.step p { font-size: 14px; color: var(--text-light); }

/* ===== 产品块 ===== */
.product-list { display: grid; gap: 30px; }
.product-block {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
    align-items: center;
    border: 1px solid var(--border);
    transition: box-shadow 0.25s, border-color 0.25s;
}
.product-block:hover { box-shadow: var(--shadow-lg); border-color: var(--primary); }
.product-block.reverse { direction: rtl; }
.product-block.reverse > * { direction: ltr; }
.product-visual {
    background: linear-gradient(135deg, var(--primary-light) 0%, #E8DCB8 100%);
    border-radius: 16px;
    padding: 50px 30px;
    text-align: center;
    color: var(--primary-dark);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--primary);
}
.product-visual::before {
    content: ''; position: absolute; top: -30px; right: -30px;
    width: 120px; height: 120px; border-radius: 50%;
    background: rgba(255,255,255,0.5);
}
.product-visual svg { position: relative; z-index: 1; }
.product-info h3 { font-size: 26px; color: var(--dark); margin-bottom: 14px; font-weight: 700; }
.product-info > p { font-size: 15px; color: var(--text-light); margin-bottom: 24px; line-height: 1.8; }
.product-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.product-features li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text); }
.product-features li svg { color: var(--primary-dark); flex-shrink: 0; }

/* ===== 表格 ===== */
.data-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); }
.data-table th { background: var(--dark); color: var(--primary); padding: 16px 20px; text-align: left; font-size: 14px; font-weight: 600; letter-spacing: 0.5px; }
.data-table td { padding: 16px 20px; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text); }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--primary-light); }

/* ===== CTA ===== */
.cta-section {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
    color: var(--white);
    padding: 60px 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    margin: 60px auto;
    max-width: 1240px;
    position: relative;
    overflow: hidden;
    border: 2px solid var(--primary);
}
.cta-section::before { content: ''; position: absolute; top: -100px; right: -50px; width: 300px; height: 300px; background: rgba(201,169,97,0.12); border-radius: 50%; }
.cta-section::after { content: ''; position: absolute; bottom: -80px; left: -50px; width: 220px; height: 220px; background: rgba(201,169,97,0.08); border-radius: 50%; }
.cta-section h2 { font-size: 30px; margin-bottom: 14px; position: relative; z-index: 1; color: var(--white); }
.cta-section h2 span { color: var(--primary); }
.cta-section p { font-size: 16px; color: #B5B5B5; margin-bottom: 28px; position: relative; z-index: 1; }
.cta-section .btn { position: relative; z-index: 1; }

/* ===== 时间线 ===== */
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding: 20px 0; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; background: var(--border); transform: translateX(-50%); }
.timeline-item { position: relative; width: 50%; padding: 20px 40px; }
.timeline-item:nth-child(odd) { left: 0; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; }
.timeline-item::before {
    content: ''; position: absolute; top: 30px;
    width: 16px; height: 16px;
    background: var(--primary); border: 3px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--primary-light);
}
.timeline-item:nth-child(odd)::before { right: -11px; }
.timeline-item:nth-child(even)::before { left: -11px; }
.timeline-year { font-size: 20px; font-weight: 800; color: var(--primary-dark); margin-bottom: 6px; }
.timeline-content { background: var(--white); padding: 20px 24px; border-radius: var(--radius); box-shadow: var(--shadow); font-size: 14px; color: var(--text-light); line-height: 1.8; border-left: 3px solid var(--primary); }

/* ===== FAQ ===== */
.faq-list { max-width: 900px; margin: 0 auto; }
.faq-item { background: var(--white); border-radius: var(--radius); margin-bottom: 14px; box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--border); }
.faq-item.open { border-color: var(--primary); }
.faq-q { padding: 20px 26px; font-size: 16px; font-weight: 600; color: var(--dark); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-q::after { content: '+'; font-size: 22px; color: var(--primary-dark); font-weight: 300; transition: transform 0.2s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); color: var(--primary); }
.faq-a { padding: 0 26px; max-height: 0; overflow: hidden; transition: all 0.3s ease; font-size: 14.5px; color: var(--text-light); line-height: 1.9; }
.faq-item.open .faq-a { padding: 0 26px 20px; max-height: 500px; }

/* ===== 联系方式卡片 ===== */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; margin-bottom: 50px; }
.contact-card { background: var(--white); border-radius: var(--radius-lg); padding: 34px 24px; text-align: center; box-shadow: var(--shadow); transition: transform 0.25s, box-shadow 0.25s; border: 1px solid var(--border); }
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.contact-card .icon { width: 64px; height: 64px; margin: 0 auto 18px; background: var(--primary-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary-dark); transition: all 0.25s; }
.contact-card:hover .icon { background: var(--primary); color: var(--dark); }
.contact-card h3 { font-size: 17px; color: var(--dark); margin-bottom: 10px; }
.contact-card p { font-size: 15px; color: var(--primary-dark); font-weight: 600; }
.contact-card small { display: block; font-size: 12.5px; color: var(--text-light); margin-top: 6px; font-weight: 400; }

/* ===== 文章列表 ===== */
.article-list { display: grid; gap: 20px; }
.article-item { background: var(--white); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); border: 1px solid var(--border); display: flex; gap: 24px; align-items: flex-start; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.article-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.article-item img { width: 200px; height: 130px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.article-item h3 { font-size: 18px; margin-bottom: 8px; line-height: 1.5; }
.article-item h3 a { color: var(--dark); }
.article-item h3 a:hover { color: var(--primary-dark); }
.article-item .meta { font-size: 13px; color: var(--text-light); margin-bottom: 10px; display: flex; gap: 16px; }
.article-item .excerpt { font-size: 14.5px; color: var(--text-light); line-height: 1.8; }

/* 文章详情 */
.article-content { background: var(--white); border-radius: var(--radius-lg); padding: 50px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.article-content h1 { font-size: 30px; color: var(--dark); margin-bottom: 16px; line-height: 1.4; }
.article-content .meta { font-size: 14px; color: var(--text-light); padding-bottom: 20px; border-bottom: 1px solid var(--border); margin-bottom: 28px; }
.article-body { font-size: 16px; line-height: 2; color: var(--text); word-wrap: break-word; white-space: pre-wrap; }
.article-body p { margin-bottom: 16px; }
.article-body img { max-width: 100%; border-radius: 8px; margin: 16px 0; }

/* ===== 页脚 ===== */
.site-footer { background: var(--dark); color: #AAA; padding: 60px 0 0; margin-top: 80px; border-top: 4px solid var(--primary); }
.footer-inner { max-width: 1240px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-col h3 { color: var(--primary); font-size: 16px; margin-bottom: 20px; font-weight: 600; letter-spacing: 0.5px; }
.footer-col p, .footer-col li { font-size: 14px; line-height: 2; color: #AAA; }
.footer-col a { color: #AAA; }
.footer-col a:hover { color: var(--primary); }
.footer-col .contact-line { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.footer-col .contact-line svg { color: var(--primary); flex-shrink: 0; }
.footer-bottom { max-width: 1240px; margin: 50px auto 0; padding: 22px 20px; border-top: 1px solid #2A2A2A; text-align: center; font-size: 13px; color: #888; }
.footer-bottom a { color: #888; }
.footer-bottom a:hover { color: var(--primary); }

/* ===== 手机端底部 ===== */
.mobile-bottom-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: var(--white); box-shadow: 0 -2px 12px rgba(0,0,0,0.1); padding: 10px 16px; gap: 12px; z-index: 999; border-top: 1px solid var(--border); }
.mobile-btn { flex: 1; padding: 12px 0; border-radius: 50px; text-align: center; font-size: 15px; font-weight: 600; }
.mobile-btn-primary { background: var(--primary); color: var(--dark); }
.mobile-btn-outline { border: 2px solid var(--primary); color: var(--primary-dark); background: var(--white); }

/* ===== 响应式 ===== */
@media (max-width: 992px) {
    .header-inner { height: 60px; }
    .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); box-shadow: 0 8px 20px rgba(0,0,0,0.1); padding: 12px 20px; border-top: 1px solid var(--border); }
    .main-nav.show { display: block; }
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav > ul > li > a { padding: 12px 0; border-bottom: 1px solid var(--border); }
    .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; pointer-events: auto; box-shadow: none; padding-left: 16px; background: transparent; transition: none; border: none; }
    .sub-menu li a { padding: 8px 0; }
    .has-sub::after { display: none; }
    .mobile-menu-toggle { display: flex; }
    .header-actions { display: none; }
    .logo-text { font-size: 22px; }

    .hero { padding: 60px 20px 60px; }
    .hero-inner { grid-template-columns: 1fr; gap: 30px; }
    .hero-content h1 { font-size: 30px; }
    .hero-visual { display: none; }

    .stats-bar { grid-template-columns: repeat(2, 1fr); margin-top: -40px; padding: 20px; }
    .stat-item:nth-child(2) { border-right: none; }
    .stat-item { border-right: none; border-bottom: 1px solid var(--border); padding: 16px 8px; }
    .stat-item:nth-child(3), .stat-item:nth-child(4) { border-bottom: none; }
    .stat-num { font-size: 26px; }

    .page-banner { padding: 50px 20px; }
    .page-banner h1 { font-size: 28px; }

    .section { padding: 50px 0; }
    .section-title { margin-bottom: 32px; }
    .section-title h2 { font-size: 24px; }

    .card-grid-3, .steps, .product-block { grid-template-columns: 1fr; }
    .product-block { padding: 26px; }
    .product-block.reverse { direction: ltr; }
    .product-visual { padding: 32px 20px; }

    .timeline::before { left: 20px; }
    .timeline-item { width: 100%; left: 0 !important; text-align: left !important; padding-left: 50px; padding-right: 10px; }
    .timeline-item::before { left: 12px !important; right: auto !important; }

    .article-item { flex-direction: column; }
    .article-item img { width: 100%; height: 180px; }
    .article-content { padding: 26px; }
    .article-content h1 { font-size: 22px; }

    .footer-inner { grid-template-columns: 1fr; gap: 30px; }
    .cta-section { margin: 40px 20px; padding: 40px 24px; }
    .cta-section h2 { font-size: 22px; }

    .mobile-bottom-bar { display: flex; }
    body { padding-bottom: 70px; }
}
@media (max-width: 500px) {
    .stats-bar { grid-template-columns: 1fr 1fr; }
    .stat-num { font-size: 22px; }
    .hero-content h1 { font-size: 24px; }
    .btn-lg { padding: 12px 28px; font-size: 15px; }
}