/* 1驾考 PC 版介绍页（/pc/）
 * 站点公共样式（communal.css / site-header.css）之外的页面级样式。
 * 容器宽度与站点保持一致：960px。
 */

.pc-page {
    --ink: #17181c;
    --text: #3f444d;
    --muted: #747982;
    --line: #e8eaee;
    --line-soft: #f1f2f5;
    --surface: #ffffff;
    --soft: #f7f8fa;
    --red: #ec2139;
    --red-ink: #c8152b;
    --red-soft: #fff1f3;
    --red-line: #ffd7dd;
    --navy: #1f2d4d;

    color: var(--ink);
    font-family: "Source Han Sans CN", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
}

.pc-page *,
.pc-page *::before,
.pc-page *::after {
    box-sizing: border-box;
}

.pc-page a {
    color: inherit;
    text-decoration: none;
}

.pc-page img {
    max-width: 100%;
}

.pc-wrap {
    width: 960px;
    max-width: calc(100% - 40px);
    margin: 0 auto;
}

/* ---------------- 面包屑 ---------------- */

.pc-crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 20px 0 8px;
    font-size: 13px;
    color: var(--muted);
}

.pc-crumb a:hover {
    color: var(--ink);
}

.pc-crumb i {
    font-style: normal;
    color: #c3c7ce;
}

/* ---------------- Hero ---------------- */

.pc-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 46px;
    align-items: center;
    padding: 26px 0 52px;
}

.pc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px 5px 8px;
    border: 1px solid var(--red-line);
    border-radius: 99px;
    background: var(--red-soft);
    color: var(--red-ink);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.pc-eyebrow i {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--red);
}

.pc-hero h1 {
    margin: 16px 0 14px;
    color: var(--ink);
    font-size: 42px;
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.8px;
}

.pc-hero h1 em {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.7;
}

.pc-lead {
    margin-bottom: 26px;
    color: var(--text);
    font-size: 15px;
    line-height: 1.9;
}

.pc-lead b {
    color: var(--ink);
    font-weight: 600;
}

.pc-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.pc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.pc-btn svg {
    width: 17px;
    height: 17px;
    flex: none;
}

.pc-btn-primary {
    background: var(--red);
    color: #fff;
    box-shadow: 0 12px 24px -14px rgba(236, 33, 57, 0.9);
}

.pc-btn-primary:hover {
    background: var(--red-ink);
    color: #fff;
    transform: translateY(-1px);
}

.pc-btn-ghost {
    border-color: #d9dce2;
    background: #fff;
    color: var(--ink);
}

.pc-btn-ghost:hover {
    border-color: #b9bec7;
    background: #fafbfc;
    color: var(--ink);
}

.pc-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 0;
    margin-top: 16px;
    color: var(--muted);
    font-size: 12.5px;
}

.pc-meta span {
    display: inline-flex;
    align-items: center;
}

.pc-meta span + span::before {
    content: "";
    width: 3px;
    height: 3px;
    margin: 0 10px;
    border-radius: 50%;
    background: #c8ccd3;
}

.pc-hero-visual {
    min-width: 0;
}

.pc-hero-cap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    color: var(--muted);
    font-size: 12px;
}

.pc-hero-cap b {
    color: var(--ink);
    font-weight: 600;
}

/* ---------------- 应用窗口（截图外框） ---------------- */

.pc-win {
    overflow: hidden;
    border: 1px solid #dde0e6;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 28px 56px -34px rgba(15, 23, 42, 0.5), 0 2px 8px rgba(15, 23, 42, 0.05);
}

.pc-win-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 34px;
    padding: 0 4px 0 12px;
    border-bottom: 1px solid #e5e8ed;
    background: linear-gradient(180deg, #fcfcfd 0%, #f4f5f7 100%);
    color: #5c626b;
    font-size: 12px;
}

.pc-win-bar img {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    display: block;
}

.pc-win-bar b {
    color: #3d434c;
    font-weight: 600;
}

.pc-win-tag {
    margin-left: 2px;
    padding: 0 6px;
    border: 1px solid #e3e6eb;
    border-radius: 3px;
    background: #fff;
    color: #9096a0;
    font-size: 10px;
    line-height: 16px;
    letter-spacing: 0.02em;
}

.pc-win-btns {
    display: flex;
    margin-left: auto;
    align-self: stretch;
}

.pc-win-btns span {
    display: grid;
    width: 34px;
    place-items: center;
    color: #7f858e;
}

.pc-win-btns span::before {
    content: "";
    display: block;
}

.pc-win-btns .min::before {
    width: 9px;
    height: 1px;
    background: currentColor;
}

.pc-win-btns .max::before {
    width: 9px;
    height: 8px;
    border: 1px solid currentColor;
}

.pc-win-btns .close::before {
    width: 10px;
    height: 10px;
    background: linear-gradient(45deg, transparent 45%, currentColor 45%, currentColor 55%, transparent 55%),
        linear-gradient(-45deg, transparent 45%, currentColor 45%, currentColor 55%, transparent 55%);
}

.pc-win-btns .close:hover {
    background: #e81123;
    color: #fff;
}

.pc-win-shot {
    display: block;
    width: 100%;
    height: auto;
    background: #fff;
}

/* ---------------- 数字条 ---------------- */

.pc-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.pc-strip div {
    padding: 24px 26px;
}

.pc-strip div + div {
    border-left: 1px solid var(--line);
}

.pc-strip b {
    display: block;
    margin-bottom: 2px;
    color: var(--ink);
    font-size: 27px;
    font-weight: 700;
    letter-spacing: -0.6px;
    line-height: 1.35;
}

.pc-strip b i {
    margin-left: 2px;
    color: var(--muted);
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0;
}

.pc-strip span {
    color: var(--muted);
    font-size: 13px;
}

/* ---------------- 通用小节 ---------------- */

.pc-sec {
    padding: 56px 0;
}

.pc-sec + .pc-sec {
    border-top: 1px solid var(--line-soft);
}

.pc-sec-head {
    max-width: 660px;
    margin-bottom: 30px;
}

.pc-sec-tag {
    display: block;
    margin-bottom: 10px;
    color: var(--red);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.pc-h2 {
    color: var(--ink);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.3px;
    line-height: 1.45;
}

.pc-sub {
    margin-top: 8px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

/* ---------------- 特性 ---------------- */

.pc-feats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px 30px;
}

.pc-feat-icon {
    display: grid;
    width: 42px;
    height: 42px;
    margin-bottom: 13px;
    border-radius: 10px;
    background: var(--red-soft);
    color: var(--red);
    place-items: center;
}

.pc-feat-icon svg {
    width: 21px;
    height: 21px;
}

.pc-feat h3 {
    margin-bottom: 6px;
    color: var(--ink);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
}

.pc-feat p {
    color: var(--text);
    font-size: 13.5px;
    line-height: 1.8;
}

.pc-feat p b {
    color: var(--ink);
    font-weight: 600;
}

/* ---------------- 界面预览 ---------------- */

.pc-preview-main {
    margin-bottom: 26px;
}

.pc-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.pc-preview-grid .pc-figure {
    display: flex;
    flex-direction: column;
}

.pc-preview-grid .pc-figure figcaption {
    margin-top: auto;
    padding-top: 12px;
}

.pc-figure {
    margin: 0;
    min-width: 0;
}

.pc-figure figcaption {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    color: var(--muted);
    font-size: 12.5px;
}

.pc-figure figcaption b {
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
}

.pc-note {
    margin-top: 18px;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.8;
}

/* ---------------- 题库同源 ---------------- */

.pc-data-foot {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px 36px;
    align-items: start;
    margin-top: 24px;
}

.pc-list-inline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
}

.pc-list {
    display: grid;
    gap: 11px;
    margin: 22px 0 24px;
    padding: 0;
    list-style: none;
}

.pc-list li {
    position: relative;
    padding-left: 24px;
    color: var(--text);
    font-size: 14px;
    line-height: 1.8;
}

.pc-list li::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 2px;
    width: 12px;
    height: 7px;
    border-left: 2px solid var(--red);
    border-bottom: 2px solid var(--red);
    transform: rotate(-45deg);
}

.pc-textlink {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--red);
    font-size: 14px;
    font-weight: 600;
}

.pc-textlink:hover {
    color: var(--red-ink);
}

.pc-textlink span {
    transition: transform 0.18s ease;
}

.pc-textlink:hover span {
    transform: translateX(3px);
}

.pc-browser {
    overflow: hidden;
    border: 1px solid #dde0e6;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 24px 48px -32px rgba(15, 23, 42, 0.45);
}

.pc-browser-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 10px;
    border-bottom: 1px solid #e8eaee;
    background: #f7f8fa;
}

.pc-browser-bar i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #dfe2e7;
}

.pc-browser-bar span {
    margin-left: 6px;
    color: #9aa0a8;
    font-size: 10.5px;
    letter-spacing: 0.02em;
}

/* ---------------- 安装 ---------------- */

.pc-install {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 48px;
    align-items: start;
}

.pc-steps {
    display: grid;
    gap: 20px;
}

.pc-step {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 14px;
}

.pc-step-n {
    display: grid;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    place-items: center;
}

.pc-step h3 {
    margin: 4px 0 4px;
    color: var(--ink);
    font-size: 15.5px;
    font-weight: 600;
}

.pc-step p {
    color: var(--text);
    font-size: 13.5px;
    line-height: 1.8;
}

.pc-req {
    padding: 20px 22px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--soft);
}

.pc-req h3 {
    margin-bottom: 14px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 600;
}

.pc-req dl {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 9px 12px;
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
}

.pc-req dt {
    color: var(--muted);
}

.pc-req dd {
    margin: 0;
    color: var(--ink);
}

.pc-warn {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed #dcdfe5;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.8;
}

.pc-warn b {
    color: var(--red-ink);
    font-weight: 600;
}

/* ---------------- 常见问题 ---------------- */

.pc-faq {
    margin-top: 26px;
    border-top: 1px solid var(--line);
}

.pc-faq details {
    border-bottom: 1px solid var(--line);
}

.pc-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 17px 2px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.7;
    cursor: pointer;
    list-style: none;
}

.pc-faq summary::-webkit-details-marker {
    display: none;
}

.pc-faq summary::after {
    content: "";
    flex: none;
    width: 10px;
    height: 10px;
    margin-right: 4px;
    border-right: 1.5px solid #9aa0a8;
    border-bottom: 1.5px solid #9aa0a8;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.pc-faq details[open] summary::after {
    transform: rotate(-135deg);
    margin-top: 6px;
}

.pc-faq summary:hover {
    color: var(--red);
}

.pc-faq .pc-faq-a {
    padding: 0 2px 18px;
    color: var(--text);
    font-size: 13.5px;
    line-height: 1.9;
}

.pc-faq .pc-faq-a a {
    color: var(--red);
    text-decoration: underline;
}

/* ---------------- 底部 CTA ---------------- */

.pc-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    margin: 8px 0 56px;
    padding: 26px 30px;
    border: 1px solid var(--red-line);
    border-radius: 12px;
    background: linear-gradient(180deg, #fff8f9 0%, #ffffff 100%);
}

.pc-cta h2 {
    margin-bottom: 5px;
    color: var(--ink);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.pc-cta p {
    color: var(--muted);
    font-size: 13px;
}

.pc-cta .pc-actions {
    margin-left: auto;
}

/* ---------------- 截图放大 ---------------- */

.pc-shot-link {
    display: block;
    border-radius: 10px;
    color: inherit;
    text-decoration: none;
    cursor: zoom-in;
}

.pc-shot-link:hover .pc-win,
.pc-shot-link:hover .pc-browser {
    border-color: #cfd4dc;
    box-shadow: 0 30px 60px -30px rgba(15, 23, 42, 0.55), 0 2px 8px rgba(15, 23, 42, 0.06);
}

.pc-shot-link:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 4px;
}

.pc-win,
.pc-browser {
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.pc-shot-dialog {
    position: fixed;
    inset: 0;
    width: min(1180px, calc(100vw - 40px));
    max-width: none;
    max-height: calc(100vh - 40px);
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.65);
}

.pc-shot-dialog::backdrop {
    background: rgba(12, 16, 24, 0.72);
}

.pc-shot-dialog img {
    display: block;
    width: 100%;
    height: auto;
    max-height: calc(100vh - 40px);
    object-fit: contain;
    background: #fff;
}

.pc-shot-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    display: grid;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(16, 20, 28, 0.62);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    place-items: center;
}

.pc-shot-close:hover {
    background: rgba(16, 20, 28, 0.88);
}

/* ---------------- 生成示意图 ---------------- */

.pc-illus {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #e6e8ed;
    border-radius: 12px;
    box-shadow: 0 28px 56px -36px rgba(15, 23, 42, 0.45);
}

.pc-hero-illus {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: 63% 50%;
    border-radius: 14px;
}

.pc-band {
    margin-bottom: 34px;
}

.pc-band-img {
    aspect-ratio: 2 / 1;
    object-fit: cover;
    object-position: 50% 52%;
}

.pc-req-col {
    display: grid;
    gap: 16px;
    align-content: start;
}

.pc-install-illus {
    border-radius: 10px;
}

/* ---------------- PC版界面示意 ---------------- */

.pc-client-illus {
    border-radius: 12px;
}

.pc-ui-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin-top: 28px;
}

.pc-ui-point h3 {
    margin-bottom: 6px;
    color: var(--ink);
    font-size: 15.5px;
    font-weight: 600;
}

.pc-ui-point p {
    color: var(--text);
    font-size: 13.5px;
    line-height: 1.8;
}

/* ---------------- PC版 / 网页版 对比 ---------------- */

.pc-compare {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 28px;
}

.pc-compare-card {
    display: flex;
    flex-direction: column;
    padding: 24px 24px 26px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
}

.pc-compare-card-pc {
    border-color: var(--red-line);
    background: linear-gradient(180deg, #fff9fa 0%, #ffffff 100%);
}

.pc-compare-tag {
    color: var(--muted);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.pc-compare-card h3 {
    margin: 8px 0 14px;
    color: var(--ink);
    font-size: 19px;
    font-weight: 700;
}

.pc-compare-card ul {
    display: grid;
    gap: 10px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.pc-compare-card li {
    position: relative;
    padding-left: 20px;
    color: var(--text);
    font-size: 13.5px;
    line-height: 1.75;
}

.pc-compare-card li::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 2px;
    width: 10px;
    height: 6px;
    border-left: 2px solid var(--red);
    border-bottom: 2px solid var(--red);
    transform: rotate(-45deg);
}

.pc-compare-card .pc-btn {
    align-self: flex-start;
    margin-top: auto;
}

.pc-web-figure {
    margin-top: 26px;
}

/* ---------------- 窄屏兜底 ---------------- */

@media (max-width: 1000px) {
    .pc-hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
        padding-top: 12px;
    }

    .pc-hero h1 {
        font-size: 34px;
    }

    .pc-hero-visual {
        max-width: 520px;
    }

    .pc-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pc-strip div:nth-child(3) {
        border-left: none;
    }

    .pc-strip div:nth-child(n + 3) {
        border-top: 1px solid var(--line);
    }

    .pc-feats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pc-install {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .pc-data-foot {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .pc-list-inline,
    .pc-ui-points,
    .pc-compare {
        grid-template-columns: minmax(0, 1fr);
    }

    .pc-preview-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .pc-cta .pc-actions {
        margin-left: 0;
    }
}

@media (max-width: 640px) {
    .pc-feats {
        grid-template-columns: minmax(0, 1fr);
    }

    .pc-strip b {
        font-size: 23px;
    }
}
