:root {
    --primary-red: #ef443b;
    --text-main: #1f2937;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}
body {
    color: var(--text-main);
    background: #ffffff;
    line-height: 1.5;
    overflow-x: hidden;
}

/* 导航栏 */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8%;
    height: 80px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: radial-gradient(circle at 10% 20%, rgba(239, 68, 68, 0.03) 0%, rgba(255, 255, 255, 1) 50%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #f3f4f6;
}
.nav-left { display: flex; align-items: center; }
.logo { margin-right: 40px; }
.logo img { height: 30px; width: 158px; }
.nav-links { display: flex; list-style: none; }
.nav-links li {
    display: flex; align-items: center; gap: 4px; position: relative;
    margin: 0 15px; border-bottom: 3px solid transparent;
}
.nav-links li:hover { border-bottom: 3px solid #FFD5D6; }
.nav-links a {
    text-decoration: none; color: var(--text-main); font-size: 15px; font-weight: 500;
    display: flex; align-items: center;
}
.nav-links-svg { width: 12px; height: 12px; }
.nav-right { display: flex; align-items: center; }
.btn-link {
    text-decoration: none; color: var(--primary-red); padding: 10px 24px;
    border: 2px solid var(--primary-red); border-radius: 6px; font-weight: 600; font-size: 14px;
    margin-left: 12px; transition: 0.3s;
}
.btn-link:hover { background: var(--primary-red); color: #fff; }
.btn-outline {
    text-decoration: none; color: #fff; background: var(--primary-red); padding: 11px 24px;
    border-radius: 6px; font-weight: 600; font-size: 14px; transition: 0.3s;
}
.btn-outline:hover { background: #d93833; }

/* 教程页主体容器 */
.guide-wrapper {
    max-width: 1200px; margin: 0 auto; padding: 160px 4% 100px;
    display: flex; gap: 50px;
}
.guide-content { flex: 1; max-width: 800px; }
.guide-header {
    margin-bottom: 40px; border-bottom: 1px solid #f3f4f6; padding-bottom: 30px;
}
.guide-header h1 {
    font-size: 3.2rem; line-height: 1.2; font-weight: 700; color: #1f2937; margin-bottom: 16px;
}
.guide-header h1 span {
    background: -webkit-linear-gradient(45deg, #ef443b, #EE8D3B);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.guide-meta { font-size: 0.95rem; color: #6b7280; font-weight: 500; }

/* 快速入门步骤卡片（创意版块） */
.quick-start-cards {
    display: flex; gap: 20px; margin: 40px 0; flex-wrap: wrap;
}
.quick-card {
    flex: 1 1 200px; background: #fff; border: 1px solid #f0f0f0; border-radius: 16px;
    padding: 25px 20px; text-align: center; transition: 0.3s;
}
.quick-card:hover { transform: translateY(-5px); box-shadow: 0 15px 25px rgba(239,68,68,0.08); }
.step-num {
    display: inline-block; background: var(--primary-red); color: #fff; font-weight: 700;
    font-size: 1rem; padding: 4px 12px; border-radius: 20px; margin-bottom: 15px;
}
.quick-card h4 { font-size: 1.3rem; font-weight: 700; margin-bottom: 10px; color: #1f2937; }
.quick-card p { font-size: 0.95rem; color: #4b5563; line-height: 1.6; }

/* 文章富文本 */
.article-body h2 {
    font-size: 2rem; font-weight: 700; color: #1f2937; margin: 45px 0 20px;
    display: flex; align-items: center; gap: 10px;
}
.article-body h2::before {
    content: ''; display: inline-block; width: 6px; height: 28px;
    background: var(--primary-red); border-radius: 3px;
}
.article-body h3 { font-size: 1.4rem; font-weight: 700; color: #374151; margin: 30px 0 15px; }
.article-body p {
    font-size: 1.05rem; color: #4b5563; line-height: 1.8; margin-bottom: 20px; font-weight: 300;
}
.article-body p strong { font-weight: 700; color: #000; }

/* 图片占位组件 */
.guide-media-box {
    margin: 35px 0; background: #f9fafb; border: 1px dashed #d1d5db; border-radius: 12px;
    overflow: hidden; text-align: center; padding: 20px;
}
.guide-media-box img {
    max-width: 100%; height: auto; display: block; margin: 0 auto; border-radius: 6px;
    background: #ffffff; box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.image-caption { font-size: 0.85rem; color: #9ca3af; margin-top: 12px; font-weight: 500; }

/* 提示块 */
.info-note {
    background: rgba(239, 68, 68, 0.04); border-left: 4px solid var(--primary-red);
    padding: 20px; border-radius: 0 8px 8px 0; margin: 30px 0;
}
.info-note p { margin-bottom: 0; font-weight: 500; color: #374151; font-size: 0.98rem; }

/* 有序列表 */
.article-body ol {
    margin: 20px 0 30px 20px;
}
.article-body ol li {
    font-size: 1.05rem; color: #4b5563; line-height: 1.8; margin-bottom: 12px; font-weight: 300;
}

/* 技巧清单（创意版块） */
.tips-checklist {
    background: #fff7ed; border: 1px solid #fed7aa; border-radius: 16px;
    padding: 30px; margin: 40px 0;
}
.tips-checklist h4 { font-size: 1.3rem; font-weight: 700; color: #c2410c; margin-bottom: 15px; }
.tips-checklist ul { list-style: none; }
.tips-checklist li {
    padding: 8px 0; border-bottom: 1px dashed #fed7aa; font-size: 1rem; color: #374151;
    display: flex; align-items: baseline; gap: 8px;
}
.tips-checklist li::before { content: "✦"; color: var(--primary-red); font-weight: 700; }

/* 侧边栏 */
.guide-sidebar { width: 280px; position: sticky; top: 120px; height: fit-content; }
.sticky-card {
    background: #f9fafb; border-radius: 16px; padding: 30px; border: 1px solid #f3f4f6;
}
.sticky-card h4 { font-size: 1.1rem; font-weight: 700; color: #1f2937; margin-bottom: 20px; }
.sticky-card ul { list-style: none; }
.sticky-card li { margin-bottom: 15px; }
.sticky-card a {
    text-decoration: none; color: #4b5563; font-size: 0.95rem; font-weight: 500;
    transition: color 0.2s;
}
.sticky-card a:hover { color: var(--primary-red); }

/* 页脚 */
footer {
    background: #111111; color: #ffffff; padding: 80px 8% 40px;
    font-family: 'Noto Sans', sans-serif;
}
.footer-container {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 40px;
}
.footer-logo-section img { height: 35px; margin-bottom: 20px; }
.footer-logo-section p { color: #999; font-size: 14px; margin-bottom: 10px; }
.footer-column h3 {
    color: var(--primary-red); font-size: 1.2rem; font-weight: 700; margin-bottom: 25px;
    position: relative; padding-bottom: 15px;
}
.footer-column h3::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background: #333;
}
.footer-column ul { list-style: none; }
.footer-column ul li { margin-bottom: 12px; }
.footer-column ul li a { color: #cccccc; text-decoration: none; font-size: 14px; transition: 0.3s; }
.footer-column ul li a:hover { color: var(--primary-red); }
.footer-bottom {
    margin-top: 60px; padding-top: 30px; border-top: 1px solid #222;
    display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #666;
}
.footer-socials { display: flex; gap: 20px; }
.footer-socials a { color: #666; text-decoration: none; transition: 0.3s; }
.footer-socials a:hover { color: #fff; }

/* 响应式 */
@media (max-width: 1024px) {
    .footer-container { grid-template-columns: 1fr 1fr; }
    .footer-logo-section { grid-column: span 2; text-align: center; margin-bottom: 40px; }
}
@media (max-width: 992px) {
    .guide-wrapper { flex-direction: column; padding-top: 120px; }
    .guide-sidebar { display: none; }
    .guide-header h1 { font-size: 2.4rem; }
    .quick-start-cards { flex-direction: column; }
}