/* 学习路径规划 — 对齐 ACGO 路径图 */
:root {
    --lp-bg: #f5f7fb;
    --lp-surface: #ffffff;
    --lp-text: #1f2329;
    --lp-text-2: #646a73;
    --lp-primary: #1677ff;
    --lp-line: #e8ecf2;
    --lp-radius: 14px;
    --lp-shadow: 0 1px 2px rgba(31, 35, 41, 0.04), 0 10px 28px rgba(31, 35, 41, 0.06);
}

body:has(.lp-wrap) {
    background: var(--lp-bg);
}

.lp-wrap {
    min-height: calc(100vh - 120px);
    padding-bottom: 56px;
    background:
        radial-gradient(1100px 280px at 18% -60px, rgba(22, 119, 255, 0.10), transparent 58%),
        radial-gradient(900px 240px at 92% 0, rgba(14, 165, 233, 0.07), transparent 55%),
        var(--lp-bg);
}

.lp-page {
    max-width: 1250px;
    margin: 0 auto;
    padding: 28px 16px 0;
    color: var(--lp-text);
}

.lp-eyebrow {
    margin: 0 0 10px;
    font-size: 13px;
    letter-spacing: 0.08em;
    color: var(--lp-primary);
}

.lp-title {
    margin: 0 0 12px;
    font-size: 34px;
    font-weight: 450;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: #17191c;
}

.lp-desc {
    margin: 0;
    max-width: 720px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--lp-text-2);
}

.lp-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.lp-hero-meta span {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(22, 119, 255, 0.12);
    color: var(--lp-text-2);
    font-size: 13px;
}

.lp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 10px;
    border: 1px solid var(--lp-line);
    background: #fff;
    color: var(--lp-text);
    font-size: 14px;
    text-decoration: none;
    transition: border-color .18s ease, color .18s ease, transform .18s ease;
}

.lp-btn:hover {
    border-color: rgba(22, 119, 255, 0.35);
    color: var(--lp-primary);
    text-decoration: none;
    transform: translateY(-1px);
}

.lp-btn.primary {
    background: var(--lp-primary);
    border-color: var(--lp-primary);
    color: #fff;
}

.lp-btn.primary:hover {
    background: #0f66e0;
    border-color: #0f66e0;
    color: #fff;
}

.lp-board {
    margin-top: 24px;
    background: var(--lp-surface);
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius);
    box-shadow: var(--lp-shadow);
    overflow: hidden;
}

.lp-board-scroll {
    overflow: hidden;
    background:
        radial-gradient(circle at 1px 1px, rgba(31, 35, 41, 0.06) 1px, transparent 0) 0 0 / 18px 18px,
        #fafbfd;
    padding: 16px 10px 10px;
}

.lp-canvas-scaler {
    width: 100%;
    overflow: hidden;
}

.lp-canvas {
    position: relative;
    margin: 0;
    transform-origin: top left;
}

.lp-edges {
    position: absolute;
    left: 0;
    top: 0;
    pointer-events: none;
    z-index: 1;
}

.lp-chip {
    position: absolute;
    z-index: 2;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 12px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e5e8ef;
    box-shadow: 0 1px 2px rgba(31, 35, 41, 0.04);
    color: #1f2329;
    text-decoration: none;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 500;
    overflow: visible;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.lp-chip:hover {
    transform: translateY(-2px);
    border-color: rgba(22, 119, 255, 0.4);
    box-shadow: 0 8px 18px rgba(22, 119, 255, 0.12);
    text-decoration: none;
    color: #1f2329;
}

.lp-chip-text {
    white-space: nowrap;
}

.lp-chip.is-muted {
    opacity: 0.55;
}

.lp-board-tip {
    margin: 0;
    padding: 10px 16px 14px;
    font-size: 12px;
    color: #8f959e;
    border-top: 1px solid #f0f2f5;
    background: #fff;
}

.lp-cta {
    margin-top: 24px;
    padding: 22px;
    border-radius: var(--lp-radius);
    background: #fff;
    border: 1px solid var(--lp-line);
    box-shadow: var(--lp-shadow);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.lp-cta-copy strong {
    display: block;
    font-size: 17px;
    font-weight: 550;
    margin-bottom: 6px;
}

.lp-cta-copy p {
    margin: 0;
    font-size: 14px;
    color: var(--lp-text-2);
    line-height: 1.6;
}

.lp-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 22px 0 16px;
    border-radius: 999px;
    background: linear-gradient(90deg, #4da3ff 0%, #1677ff 55%, #0f5ed9 100%);
    color: #fff !important;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0 8px 20px rgba(22, 119, 255, 0.28);
    transition: transform .18s ease, box-shadow .18s ease;
}

.lp-cta-btn i {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.22);
    font-size: 13px;
}

.lp-cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(22, 119, 255, 0.34);
}

@media (max-width: 768px) {
    .lp-title { font-size: 28px; }
    .lp-cta { padding: 18px 16px; }
    .lp-cta-btn { width: 100%; justify-content: center; }
}
