/* 薪火助手 内页共享样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #E8456B;
    --primary-dark: #C73A5A;
    --accent: #FF6B8A;
    --bg: #FAFAFA;
    --text: #1A1A2E;
    --text-light: #6B7280;
    --white: #FFFFFF;
    --shadow: 0 20px 60px rgba(0,0,0,0.08);
    --shadow-sm: 0 4px 20px rgba(0,0,0,0.06);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 12px 0;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-group img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.logo-group span {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}

/* Primary nav */
.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-nav a {
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.25s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: var(--primary);
    background: #FEF2F4;
}

.header-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.header-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(232,69,107,0.3);
}

/* Page hero */
.page-hero {
    padding: 130px 24px 56px;
    text-align: center;
    background: linear-gradient(180deg, #FFF 0%, #FEF2F4 100%);
}

.page-hero .breadcrumb {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.page-hero .breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
}

.page-hero .breadcrumb a:hover {
    color: var(--primary);
}

.page-hero h1 {
    font-size: clamp(26px, 4.5vw, 40px);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 14px;
    background: linear-gradient(135deg, var(--text) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero p {
    font-size: clamp(15px, 2.2vw, 18px);
    color: var(--text-light);
    max-width: 640px;
    margin: 0 auto;
}

/* Content container */
.content {
    max-width: 860px;
    margin: 0 auto;
    padding: 56px 24px 80px;
}

.content section {
    margin-bottom: 48px;
}

.content h2 {
    font-size: clamp(21px, 3.5vw, 28px);
    font-weight: 700;
    margin-bottom: 18px;
    padding-left: 14px;
    border-left: 4px solid var(--primary);
}

.content h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 24px 0 10px;
}

.content p {
    font-size: 16px;
    color: var(--text);
    margin-bottom: 14px;
}

.content ul,
.content ol {
    margin: 0 0 16px 22px;
    color: var(--text);
}

.content li {
    font-size: 16px;
    margin-bottom: 10px;
}

.content a.inline-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.content a.inline-link:hover {
    text-decoration: underline;
}

.content strong {
    color: var(--text);
}

/* Step cards */
.step-card {
    background: var(--white);
    border-radius: 16px;
    padding: 24px 26px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.03);
    margin-bottom: 18px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.step-num {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-card h3 {
    margin: 0 0 6px;
}

.step-card p {
    margin: 0;
    font-size: 15px;
    color: var(--text-light);
}

/* FAQ */
.faq-item {
    background: var(--white);
    border-radius: 16px;
    padding: 22px 26px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.03);
    margin-bottom: 16px;
}

.faq-item h3 {
    margin: 0 0 8px;
    font-size: 17px;
    color: var(--primary-dark);
}

.faq-item p {
    margin: 0;
    font-size: 15px;
    color: var(--text-light);
}

/* Info cards grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 8px;
}

.info-card {
    background: var(--white);
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.info-card .ic {
    font-size: 28px;
    margin-bottom: 12px;
}

.info-card h3 {
    margin: 0 0 8px;
    font-size: 17px;
}

.info-card p {
    margin: 0;
    font-size: 14px;
    color: var(--text-light);
}

/* CTA block */
.cta-block {
    max-width: 680px;
    margin: 0 auto;
    background: linear-gradient(135deg, #1A1A2E 0%, #2D2D44 100%);
    border-radius: 28px;
    padding: 48px 40px;
    text-align: center;
    color: white;
}

.cta-block h2 {
    border: none;
    padding: 0;
    color: white;
    margin-bottom: 12px;
}

.cta-block p {
    opacity: 0.8;
    margin-bottom: 28px;
    color: white;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    text-decoration: none;
    border-radius: 60px;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 12px 35px rgba(232,69,107,0.4);
    cursor: pointer;
    border: none;
}

.download-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 18px 50px rgba(232,69,107,0.5);
}

/* Footer */
footer {
    padding: 48px 24px;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.05);
    background: var(--white);
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.footer-logo span {
    font-weight: 700;
    font-size: 16px;
}

footer p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 8px;
}

footer nav {
    margin-top: 16px;
}

footer nav a {
    color: var(--text-light);
    text-decoration: none;
    margin: 0 12px;
    font-size: 13px;
    transition: color 0.3s;
}

footer nav a:hover {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .site-nav a {
        padding: 6px 8px;
        font-size: 13px;
    }
    .header-btn {
        padding: 8px 16px;
    }
    .logo-group span {
        display: none;
    }
    .content {
        padding: 40px 20px 60px;
    }
    .cta-block {
        padding: 40px 24px;
    }
}
