/* ===== 免费综述生成（free-review）· 引导页样式 v6 · 红色主题 ===== */
/* 结构：首屏（说明 + 演示视频）→ 三步教程 */

:root {
    --red: #c81623;
    --red-dark: #a9121d;
    --red-light: #fdecec;
    --red-border: #f3c2c7;
    --line: #ececef;
}

.free-review {
    padding: clamp(14px, 1.8vw, 24px) clamp(16px, 2.6vw, 42px) 28px;
    min-width: 0;
}

/* ---------- 首屏 ---------- */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 34px 26px 32px;
    background:
        radial-gradient(circle at 0% 0%, #fff6f6 0%, rgba(255, 255, 255, 0) 55%),
        radial-gradient(circle at 100% 100%, #fdf0f1 0%, rgba(255, 255, 255, 0) 48%),
        #ffffff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(31, 66, 138, .06);
}
.hero-main { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 13px; min-width: 0; max-width: 940px; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--red-light);
    border: 1px solid var(--red-border);
    color: var(--red);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .3px;
}
.hero-title {
    margin: 0;
    font-size: 30px;
    line-height: 1.38;
    font-weight: 700;
    color: var(--text);
    letter-spacing: .3px;
}
.hero-title em {
    display: block;
    margin-top: 4px;
    font-style: normal;
    color: var(--red);
}
.hero-desc {
    margin: 0;
    font-size: 13px;
    line-height: 1.85;
    color: var(--text-2);
}
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 4px; }
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 10px;
    background: var(--red);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(200, 22, 35, .24);
    transition: all .18s ease;
}
.btn-primary:hover {
    background: var(--red-dark);
    transform: translateY(-1px);
    box-shadow: 0 9px 22px rgba(200, 22, 35, .3);
}
.btn-primary svg { flex-shrink: 0; }
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 11px 20px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #e2e2e6;
    color: var(--text-2);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all .18s ease;
}
.btn-ghost:hover { border-color: var(--red); color: var(--red); background: var(--red-light); }
.hero-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-3);
}
.hero-meta i { width: 1px; height: 10px; background: #e2e2e6; }
.meta-gift {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--red-light);
    border: 1px solid var(--red-border);
    color: var(--red);
    font-weight: 700;
}
.meta-gift svg { flex-shrink: 0; }

/* 演示视频（独立区块） */
.demo-section { scroll-margin-top: 16px; }
.video-card {
    width: 100%;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(20, 30, 50, .06);
}
.video-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 13px;
    background: #fcfcfd;
    border-bottom: 1px solid #f2f2f4;
}
.video-title {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text);
}
.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 3px rgba(200, 22, 35, .12);
    animation: pulse 1.8s infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(200, 22, 35, .12); }
    50% { box-shadow: 0 0 0 6px rgba(200, 22, 35, .04); }
}
.video-link { font-size: 11.5px; color: var(--text-2); text-decoration: none; white-space: nowrap; }
.video-link:hover { color: var(--red); }
.video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0f1115;
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-note {
    margin: 0;
    padding: 8px 13px 10px;
    font-size: 11.5px;
    color: var(--text-3);
    line-height: 1.6;
}

/* ---------- 通用区块 ---------- */
.section { margin-top: 30px; }
.section-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5px;
    margin-bottom: 16px;
}
.section-head h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: .3px;
}
.section-head p {
    margin: 0;
    font-size: 12.5px;
    color: var(--text-3);
    line-height: 1.6;
}

/* ---------- 三步教程 ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.step-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px 18px 16px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 1px 6px rgba(20, 30, 50, .04);
    overflow: hidden;
}
.step-no {
    font-family: "Arial", sans-serif;
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
    color: var(--red-light);
    letter-spacing: 1px;
}
.step-card h3 { margin: 0; font-size: 14.5px; font-weight: 700; color: var(--text); }
.step-card p { margin: 0; font-size: 12.5px; line-height: 1.75; color: var(--text-2); }
.step-card code {
    padding: 1px 5px;
    border-radius: 4px;
    background: #f3f3f5;
    color: var(--red);
    font-family: Consolas, Menlo, monospace;
    font-size: 11.5px;
}
.step-tip {
    margin-top: auto;
    font-size: 11.5px;
    color: var(--text-3);
    background: #fafafa;
    border-radius: 6px;
    padding: 6px 9px;
    line-height: 1.55;
}
.step-link {
    margin-top: auto;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--red);
    text-decoration: none;
}
.step-link:hover { text-decoration: underline; }

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
    .hero-title { font-size: 27px; }
}
@media (max-width: 1024px) {
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .hero { padding: 20px 16px; }
    .hero-title { font-size: 23px; }
    .steps { grid-template-columns: minmax(0, 1fr); }
    .section { margin-top: 24px; }
    .section-head h2 { font-size: 18px; }
}
