/* ================================================================================
   电脑端操作教程页
   ================================================================================ */

.sg-tutorial-body {
    background: #f4f6fb;
    color: #1e293b;
    min-height: 100vh;
}

.sg-tutorial-body .sg-nav {
    background: rgba(10, 22, 40, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sg-tutorial-page {
    max-width: 980px;
    margin: 0 auto;
    padding: 96px 24px 64px;
}

.sg-tutorial-hero {
    text-align: center;
    margin-bottom: 32px;
}

.sg-tutorial-eyebrow {
    display: inline-block;
    margin: 0 0 10px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.12);
    color: #0284c7;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.sg-tutorial-hero h1 {
    font-size: 2.125rem;
    font-weight: 700;
    color: #0f2140;
    margin: 0 0 12px;
    letter-spacing: 0.02em;
}

.sg-tutorial-hero p {
    font-size: 1.0625rem;
    color: #64748b;
    margin: 0 auto;
    max-width: 640px;
    line-height: 1.75;
}

.sg-tutorial-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
}

.sg-tutorial-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.sg-tutorial-btn-primary {
    background: linear-gradient(135deg, #38bdf8, #0284c7);
    color: #fff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.sg-tutorial-btn-secondary {
    background: #fff;
    color: #1e3a66;
    border: 1px solid #cbd5e1;
}

.sg-tutorial-btn:hover {
    transform: translateY(-1px);
}

/* 横屏 16:9 视频区 */
.sg-tutorial-video-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 28px;
    box-shadow: 0 8px 28px rgba(15, 33, 64, 0.07);
}

.sg-tutorial-video-head h2 {
    margin: 0 0 6px;
    font-size: 1.25rem;
    color: #0f2140;
}

.sg-tutorial-video-head p {
    margin: 0 0 18px;
    color: #64748b;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.sg-tutorial-video-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #cbd5e1;
    background: #000;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.sg-tutorial-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.sg-tutorial-video-placeholder {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    border: 1px dashed #93c5fd;
    background:
        linear-gradient(135deg, rgba(56, 189, 248, 0.08) 0%, rgba(2, 132, 199, 0.12) 100%),
        repeating-linear-gradient(
            -45deg,
            rgba(255, 255, 255, 0.35),
            rgba(255, 255, 255, 0.35) 10px,
            rgba(241, 245, 249, 0.55) 10px,
            rgba(241, 245, 249, 0.55) 20px
        );
}

.sg-tutorial-video-placeholder-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
}

.sg-tutorial-video-placeholder-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, #38bdf8, #0284c7);
    color: #fff;
    font-size: 20px;
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.28);
}

.sg-tutorial-video-placeholder p {
    margin: 0 0 8px;
    font-size: 1.0625rem;
    font-weight: 600;
    color: #0f2140;
}

.sg-tutorial-video-placeholder small {
    max-width: 420px;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #64748b;
}

/* 流程卡片 */
.sg-tutorial-flow {
    margin-bottom: 28px;
}

.sg-tutorial-section-intro {
    margin-bottom: 18px;
}

.sg-tutorial-section-intro h2 {
    margin: 0 0 6px;
    font-size: 1.375rem;
    color: #0f2140;
}

.sg-tutorial-section-intro p {
    margin: 0;
    color: #64748b;
    font-size: 0.975rem;
    line-height: 1.6;
}

.sg-tutorial-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.sg-tutorial-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px 20px 18px;
    box-shadow: 0 4px 18px rgba(15, 33, 64, 0.05);
}

.sg-tutorial-card-wide {
    grid-column: 1 / -1;
}

.sg-tutorial-card-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-bottom: 10px;
    border-radius: 8px;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 700;
}

.sg-tutorial-card h3 {
    margin: 0 0 8px;
    font-size: 1.0625rem;
    color: #0f2140;
}

.sg-tutorial-card p {
    margin: 0;
    color: #475569;
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* 快捷键 / FAQ */
.sg-tutorial-section {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 28px 28px 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(15, 33, 64, 0.05);
}

.sg-tutorial-section-head {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
}

.sg-tutorial-step-num {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    color: #fff;
    font-size: 1.125rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sg-tutorial-section-head h2 {
    margin: 0 0 6px;
    font-size: 1.375rem;
    color: #0f2140;
}

.sg-tutorial-section-head p {
    margin: 0;
    color: #64748b;
    font-size: 0.975rem;
    line-height: 1.6;
}

.sg-tutorial-kbd {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 5px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    font-family: Consolas, monospace;
    font-size: 0.875rem;
    color: #334155;
}

.sg-tutorial-table-wrap {
    overflow-x: auto;
    margin-top: 12px;
}

.sg-tutorial-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

.sg-tutorial-table th,
.sg-tutorial-table td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.sg-tutorial-table th {
    background: #f8fafc;
    color: #0f2140;
    font-weight: 600;
}

.sg-tutorial-faq {
    margin: 18px 0 0;
    padding-left: 1.25rem;
    color: #334155;
    line-height: 1.75;
}

.sg-tutorial-faq li {
    margin-bottom: 10px;
}

.sg-tutorial-faq strong {
    color: #0f2140;
}

@media (max-width: 768px) {
    .sg-tutorial-page {
        padding: 88px 16px 48px;
    }

    .sg-tutorial-hero h1 {
        font-size: 1.625rem;
    }

    .sg-tutorial-grid {
        grid-template-columns: 1fr;
    }

    .sg-tutorial-card-wide {
        grid-column: auto;
    }

    .sg-tutorial-section,
    .sg-tutorial-video-card {
        padding: 20px 18px;
    }
}
