/* ===================== 使用指南页 ===================== */
.guide-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 24px 40px;
    position: relative;
    z-index: 1;
}

/* ---- Hero 区域 ---- */
.guide-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 40px 44px;
    margin-bottom: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    background: linear-gradient(135deg, rgba(19, 33, 60, 0.75), rgba(13, 22, 42, 0.85));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow: hidden;
    position: relative;
}

.guide-hero::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -60px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(37, 116, 247, 0.22) 0%, transparent 70%);
    pointer-events: none;
}

.hero-info {
    flex: 1;
    min-width: 0;
}

.hero-title {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(90deg, #ffffff 0%, #8ab4ff 70%, #c084fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-desc {
    font-size: 17px;
    color: var(--text-gray);
    margin-bottom: 28px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.05);
    transition: all var(--transition-speed) ease;
}

.feature-tag:hover {
    background: rgba(37, 116, 247, 0.12);
    transform: translateY(-2px);
}

.feature-tag > i {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 16px;
    background: rgba(37, 116, 247, 0.18);
    color: #6aa8ff;
}

.feature-tag div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.feature-tag strong {
    font-size: 15px;
    color: var(--text-white);
    font-weight: 600;
}

.feature-tag span {
    font-size: 13px;
    color: var(--text-light-gray);
}

/* ---- 右侧插图 ---- */
.hero-illustration {
    position: relative;
    width: 280px;
    height: 220px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.book-glow {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(100, 160, 255, 0.25) 0%, transparent 65%);
    animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.08); opacity: 1; }
}

.hero-illustration .fa-book {
    position: relative;
    font-size: 110px;
    color: #7aa8ff;
    text-shadow: 0 0 40px rgba(100, 160, 255, 0.45);
    z-index: 2;
}

.hero-illustration .magnifier {
    position: absolute;
    bottom: 30px;
    right: 40px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #2574f7, #7c3aed);
    color: #fff;
    font-size: 24px;
    box-shadow: 0 8px 28px rgba(37, 116, 247, 0.45);
    z-index: 3;
}

/* ---- 主布局 ---- */
.guide-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
}

.guide-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.guide-section {
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    background-color: var(--bg-card);
}

.section-header {
    margin-bottom: 22px;
}

.section-header h2 {
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.section-header h2 i {
    color: var(--primary-blue);
}

.section-header p {
    font-size: 14px;
    color: var(--text-light-gray);
    padding-left: 30px;
}

/* ---- 新手入门卡片 ---- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.step-card {
    padding: 22px 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.03);
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
}

.step-card:hover {
    background: rgba(37, 116, 247, 0.08);
    transform: translateY(-4px);
    border-color: rgba(37, 116, 247, 0.35);
}

.step-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 22px;
    margin-bottom: 14px;
}

.step-icon.blue { background: rgba(37, 116, 247, 0.15); color: #6aa8ff; }
.step-icon.green { background: rgba(34, 197, 94, 0.15); color: #4ade80; }
.step-icon.purple { background: rgba(168, 85, 247, 0.15); color: #c084fc; }
.step-icon.orange { background: rgba(249, 115, 22, 0.15); color: #fb923c; }

.step-num {
    position: absolute;
    top: 14px;
    right: 16px;
    font-size: 26px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.08);
}

.step-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 13px;
    color: var(--text-light-gray);
    line-height: 1.6;
}

/* ---- 网站提交流程 ---- */
.flow-wrap {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.flow-item {
    flex: 1;
    text-align: center;
    padding: 22px 12px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.03);
    transition: all var(--transition-speed) ease;
}

.flow-item:hover {
    background: rgba(37, 116, 247, 0.08);
}

.flow-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    border-radius: 50%;
    font-size: 24px;
    background: linear-gradient(135deg, rgba(37, 116, 247, 0.2), rgba(124, 58, 237, 0.2));
    color: #8ab4ff;
    border: 1px solid rgba(100, 160, 255, 0.18);
}

.flow-item h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

.flow-item p {
    font-size: 12px;
    color: var(--text-light-gray);
    line-height: 1.6;
}

.flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light-gray);
    font-size: 24px;
}

/* ---- CTA ---- */
.guide-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 26px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    background: linear-gradient(135deg, rgba(19, 33, 60, 0.8), rgba(13, 22, 42, 0.9));
}

.cta-text h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 6px;
}

.cta-text p {
    font-size: 14px;
    color: var(--text-gray);
}

.cta-btn {
    flex-shrink: 0;
    padding: 12px 26px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #2574f7, #3b4cff);
    color: #fff;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-speed) ease;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 116, 247, 0.35);
}

/* ---- 右侧边栏 ---- */
.guide-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.guide-sidebar .side-card {
    padding: 20px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    background-color: var(--bg-card);
}

.side-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.side-card-title i:first-child {
    color: var(--primary-blue);
}

.side-card-title .more-link {
    margin-left: auto;
    font-size: 13px;
    color: var(--text-light-gray);
    display: flex;
    align-items: center;
    gap: 4px;
}

.side-card-title .more-link:hover {
    color: var(--primary-blue);
}

.quick-nav,
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.quick-nav a,
.faq-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 12px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-gray);
    transition: all var(--transition-speed) ease;
}

.quick-nav a:hover,
.faq-list a:hover {
    background: var(--hover-bg);
    color: var(--text-white);
}

.quick-nav a span,
.faq-list a span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quick-nav a i:first-child,
.faq-list a i:first-child {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.06);
    color: #8ab4ff;
}

.quick-nav a .fa-angle-right,
.faq-list a .fa-angle-right {
    color: var(--text-light-gray);
    font-size: 16px;
}

/* ---- 响应式 ---- */
@media (max-width: 1200px) {
    .guide-layout {
        grid-template-columns: 1fr;
    }
    .guide-sidebar {
        flex-direction: row;
    }
    .guide-sidebar .side-card {
        flex: 1;
    }
}

@media (max-width: 992px) {
    .guide-hero {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
    }
    .hero-features {
        justify-content: center;
    }
    .hero-illustration {
        width: 220px;
        height: 180px;
    }
    .hero-illustration .fa-book {
        font-size: 80px;
    }
    .hero-illustration .magnifier {
        width: 44px;
        height: 44px;
        font-size: 18px;
        right: 20px;
    }
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .flow-wrap {
        flex-wrap: wrap;
    }
    .flow-item {
        flex: 1 1 calc(50% - 20px);
    }
    .flow-arrow {
        display: none;
    }
}

@media (max-width: 768px) {
    .guide-page {
        padding: 16px 16px 30px;
    }
    .hero-title {
        font-size: 32px;
    }
    .hero-features {
        flex-direction: column;
    }
    .feature-tag {
        width: 100%;
    }
    .guide-sidebar {
        flex-direction: column;
    }
    .steps-grid {
        grid-template-columns: 1fr;
    }
    .flow-item {
        flex: 1 1 100%;
    }
    .guide-cta {
        flex-direction: column;
        text-align: center;
    }
}

/* ---- 亮色模式适配 ---- */
body.light-mode .guide-hero {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(240, 245, 255, 0.9));
}
body.light-mode .guide-section,
body.light-mode .guide-sidebar .side-card {
    background-color: #ffffff;
}
body.light-mode .step-card,
body.light-mode .flow-item {
    background: rgba(240, 245, 255, 0.5);
}
body.light-mode .step-card:hover,
body.light-mode .flow-item:hover {
    background: rgba(37, 116, 247, 0.08);
}
body.light-mode .step-num {
    color: rgba(25, 37, 56, 0.08);
}
body.light-mode .feature-tag {
    background: rgba(240, 245, 255, 0.7);
}
body.light-mode .guide-cta {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(230, 240, 255, 0.9));
}
