/* =========================================================
   简历模板独立页面
   所有类名均使用 resume- 前缀，不影响现有岗位页面
   ========================================================= */

.resume-page {
    --resume-ink: #14213d;
    --resume-text: #344054;
    --resume-muted: #667085;
    --resume-line: rgba(20, 33, 61, .09);
    --resume-blue: #4f46e5;
    --resume-blue-dark: #3730a3;
    --resume-cyan: #06b6d4;
    --resume-soft: #f3f5ff;
    --resume-card: rgba(255, 255, 255, .88);
    background:
        radial-gradient(circle at 8% 4%, rgba(79, 70, 229, .08), transparent 28%),
        radial-gradient(circle at 92% 20%, rgba(6, 182, 212, .06), transparent 24%),
        #f7f8fc;
}

.resume-shell {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
}

.resume-hero {
    position: relative;
    overflow: hidden;
    margin-top: 68px;
    padding: 78px 0 86px;
    border-bottom: 1px solid rgba(79, 70, 229, .09);
    background:
        radial-gradient(circle at 18% 18%, rgba(79, 70, 229, .17), transparent 28%),
        radial-gradient(circle at 82% 20%, rgba(6, 182, 212, .12), transparent 25%),
        linear-gradient(135deg, #fbfbff, #eef2ff 54%, #f2fbff);
}

.resume-hero::before {
    content: "";
    position: absolute;
    width: 460px;
    height: 460px;
    top: -280px;
    right: 7%;
    border: 1px solid rgba(79, 70, 229, .13);
    border-radius: 50%;
    box-shadow:
        0 0 0 46px rgba(79, 70, 229, .025),
        0 0 0 92px rgba(79, 70, 229, .018);
}

.resume-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
    gap: 56px;
    align-items: center;
}

.resume-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--resume-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
}

.resume-hero h1 {
    max-width: 720px;
    margin: 0;
    color: var(--resume-ink);
    font-size: clamp(40px, 5.3vw, 68px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -2.5px;
}

.resume-hero h1 span {
    display: block;
    color: transparent;
    background: linear-gradient(100deg, var(--resume-blue), #7c3aed 56%, var(--resume-cyan));
    -webkit-background-clip: text;
    background-clip: text;
}

.resume-hero-copy > p {
    max-width: 660px;
    margin: 24px 0 0;
    color: var(--resume-muted);
    font-size: 17px;
    line-height: 1.9;
}

.resume-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.resume-hero-tags span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 13px;
    border: 1px solid rgba(79, 70, 229, .10);
    border-radius: 999px;
    color: #475467;
    background: rgba(255, 255, 255, .66);
    font-size: 13px;
    font-weight: 650;
    backdrop-filter: blur(12px);
}

.resume-hero-tags i {
    color: #12b76a;
}

.resume-hero-orbit {
    position: relative;
    min-height: 310px;
}

.resume-hero-orbit::before,
.resume-hero-orbit::after {
    content: "";
    position: absolute;
    border-radius: 50%;
}

.resume-hero-orbit::before {
    inset: 12px;
    border: 1px dashed rgba(79, 70, 229, .17);
}

.resume-hero-orbit::after {
    inset: 58px;
    border: 1px solid rgba(6, 182, 212, .12);
}

.resume-orbit-card {
    position: absolute;
    z-index: 2;
    inset: 62px 42px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, .78);
    border-radius: 28px;
    color: white;
    background:
        linear-gradient(145deg, rgba(255,255,255,.18), transparent 35%),
        linear-gradient(135deg, #4f46e5, #6d28d9 60%, #0891b2);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.28),
        0 28px 62px rgba(79, 70, 229, .27);
    transform: rotate(-3deg);
}

.resume-orbit-card i {
    margin-bottom: 26px;
    font-size: 38px;
}

.resume-orbit-card strong {
    font-size: 25px;
    letter-spacing: -.4px;
}

.resume-orbit-card span {
    margin-top: 8px;
    color: rgba(255,255,255,.74);
    font-size: 13px;
}

.resume-orbit-dot {
    position: absolute;
    z-index: 3;
    border-radius: 50%;
    box-shadow: 0 12px 24px rgba(20,33,61,.14);
}

.resume-orbit-dot-one {
    width: 22px;
    height: 22px;
    top: 22px;
    right: 56px;
    background: #fdb022;
}

.resume-orbit-dot-two {
    width: 15px;
    height: 15px;
    left: 22px;
    bottom: 52px;
    background: #12b76a;
}

.resume-section {
    padding: 78px 0;
}

.resume-section-heading {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: end;
    margin-bottom: 30px;
}

.resume-section-heading span {
    display: block;
    margin-bottom: 6px;
    color: var(--resume-blue);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .15em;
}

.resume-section-heading h2 {
    margin: 0;
    color: var(--resume-ink);
    font-size: 34px;
    font-weight: 850;
    letter-spacing: -.8px;
}

.resume-section-heading p {
    max-width: 480px;
    margin: 0;
    color: var(--resume-muted);
    text-align: right;
    line-height: 1.7;
}

.resume-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.16fr) minmax(340px, .84fr);
    gap: 26px;
    align-items: start;
}

.resume-preview-card,
.resume-detail-card {
    border: 1px solid var(--resume-line);
    border-radius: 24px;
    background: var(--resume-card);
    box-shadow:
        0 2px 3px rgba(20,33,61,.03),
        0 20px 52px rgba(20,33,61,.09);
}

.resume-preview-card {
    overflow: hidden;
}

.resume-preview-toolbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 54px;
    padding: 0 18px;
    border-bottom: 1px solid var(--resume-line);
    color: #475467;
    background: rgba(250,251,255,.88);
    font-size: 13px;
    font-weight: 700;
}

.resume-window-dots {
    display: flex;
    gap: 6px;
}

.resume-window-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #d0d5dd;
}

.resume-window-dots span:first-child { background: #f97066; }
.resume-window-dots span:nth-child(2) { background: #fdb022; }
.resume-window-dots span:last-child { background: #32d583; }

.resume-preview-page {
    justify-self: end;
    color: #98a2b3;
    font-size: 11px;
}

.resume-paper-wrap {
    padding: 28px;
    background:
        linear-gradient(rgba(20,33,61,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(20,33,61,.025) 1px, transparent 1px),
        #eef1f7;
    background-size: 26px 26px;
}

.resume-paper {
    display: block;
    width: min(100%, 660px);
    margin: 0 auto;
    border-radius: 3px;
    background: white;
    box-shadow:
        0 2px 4px rgba(20,33,61,.05),
        0 22px 50px rgba(20,33,61,.18);
}

.resume-detail-card {
    position: sticky;
    top: 92px;
    padding: 30px;
}

.resume-template-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 24px;
    border-radius: 18px;
    color: white;
    font-size: 26px;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    box-shadow: 0 14px 28px rgba(79,70,229,.23);
}

.resume-template-title > span {
    color: var(--resume-blue);
    font-size: 12px;
    font-weight: 800;
}

.resume-template-title h3 {
    margin: 7px 0 10px;
    color: var(--resume-ink);
    font-size: 27px;
    font-weight: 850;
    line-height: 1.35;
    letter-spacing: -.5px;
}

.resume-template-title p {
    margin: 0;
    color: var(--resume-muted);
    line-height: 1.8;
}

.resume-template-features {
    display: grid;
    gap: 9px;
    margin: 24px 0;
}

.resume-template-features > div {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 11px;
    align-items: center;
    padding: 11px;
    border: 1px solid rgba(20,33,61,.06);
    border-radius: 13px;
    background: #f8f9fc;
}

.resume-template-features > div > i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    color: var(--resume-blue);
    background: rgba(79,70,229,.08);
}

.resume-template-features small {
    display: block;
    margin-bottom: 1px;
    color: #98a2b3;
    font-size: 10px;
}

.resume-template-features strong {
    color: #344054;
    font-size: 13px;
}

.resume-download-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 52px;
    padding: 0 18px;
    border-radius: 14px;
    color: white !important;
    background:
        linear-gradient(145deg, rgba(255,255,255,.12), transparent 36%),
        linear-gradient(135deg, #4f46e5, #4338ca);
    box-shadow: 0 15px 30px rgba(79,70,229,.23);
    font-size: 14px;
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease;
}

.resume-download-btn span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.resume-download-btn:hover {
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 20px 38px rgba(79,70,229,.30);
}

.resume-download-note {
    margin: 14px 0 0;
    color: #98a2b3;
    font-size: 11px;
    line-height: 1.6;
    text-align: center;
}

.resume-guide-section {
    padding: 0 0 78px;
}

.resume-guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.resume-guide-grid article {
    position: relative;
    overflow: hidden;
    padding: 27px;
    border: 1px solid var(--resume-line);
    border-radius: 20px;
    background: rgba(255,255,255,.76);
    box-shadow: 0 14px 34px rgba(20,33,61,.06);
}

.resume-guide-grid article > span {
    position: absolute;
    top: 15px;
    right: 18px;
    color: rgba(79,70,229,.10);
    font-size: 48px;
    font-weight: 900;
}

.resume-guide-grid article > i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 20px;
    border-radius: 14px;
    color: var(--resume-blue);
    background: rgba(79,70,229,.08);
}

.resume-guide-grid h3 {
    margin: 0 0 8px;
    color: var(--resume-ink);
    font-size: 18px;
}

.resume-guide-grid p {
    margin: 0;
    color: var(--resume-muted);
    line-height: 1.75;
}

.resume-wechat-section {
    padding: 0 0 90px;
}

.resume-wechat-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 50px;
    overflow: hidden;
    align-items: center;
    padding: 48px 54px;
    border-radius: 28px;
    color: white;
    background:
        radial-gradient(circle at 80% 12%, rgba(6,182,212,.22), transparent 26%),
        linear-gradient(135deg, #172033, #25325a 56%, #3730a3);
    box-shadow: 0 28px 70px rgba(20,33,61,.22);
}

.resume-wechat-card::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    left: -170px;
    bottom: -190px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    box-shadow:
        0 0 0 42px rgba(255,255,255,.026),
        0 0 0 84px rgba(255,255,255,.018);
}

.resume-wechat-copy,
.resume-qr-card {
    position: relative;
    z-index: 1;
}

.resume-wechat-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6ce9a6;
    font-size: 12px;
    font-weight: 800;
}

.resume-wechat-copy h2 {
    max-width: 620px;
    margin: 16px 0 14px;
    color: white;
    font-size: 34px;
    font-weight: 850;
    letter-spacing: -.7px;
}

.resume-wechat-copy > p {
    max-width: 630px;
    margin: 0;
    color: rgba(255,255,255,.69);
    font-size: 16px;
    line-height: 1.8;
}

.resume-wechat-copy ul {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.resume-wechat-copy li {
    display: flex;
    align-items: center;
    gap: 9px;
    color: rgba(255,255,255,.82);
    font-size: 13px;
}

.resume-wechat-copy li i {
    color: #6ce9a6;
}

.resume-qr-card {
    padding: 17px 17px 19px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 22px;
    background: rgba(255,255,255,.09);
    text-align: center;
    backdrop-filter: blur(18px);
}

.resume-qr-frame {
    overflow: hidden;
    padding: 8px;
    border-radius: 16px;
    background: white;
}

.resume-qr-frame img {
    display: block;
    width: 100%;
    border-radius: 11px;
}

.resume-qr-card strong {
    display: block;
    margin-top: 15px;
    font-size: 14px;
}

.resume-qr-card > span {
    display: block;
    margin-top: 4px;
    color: rgba(255,255,255,.62);
    font-size: 11px;
}

@media (max-width: 980px) {
    .resume-hero-inner,
    .resume-showcase,
    .resume-wechat-card {
        grid-template-columns: 1fr;
    }

    .resume-hero-orbit {
        display: none;
    }

    .resume-detail-card {
        position: static;
    }

    .resume-wechat-card {
        gap: 30px;
    }

    .resume-qr-card {
        width: min(260px, 100%);
    }
}

@media (max-width: 720px) {
    .resume-shell {
        width: min(100% - 24px, 1240px);
    }

    .resume-hero {
        margin-top: 60px;
        padding: 52px 0 62px;
    }

    .resume-hero h1 {
        font-size: 39px;
        letter-spacing: -1.4px;
    }

    .resume-hero-copy > p {
        font-size: 15px;
    }

    .resume-section {
        padding: 52px 0;
    }

    .resume-section-heading {
        display: block;
    }

    .resume-section-heading h2 {
        font-size: 28px;
    }

    .resume-section-heading p {
        margin-top: 12px;
        text-align: left;
    }

    .resume-paper-wrap {
        padding: 12px;
    }

    .resume-detail-card {
        padding: 22px 18px;
    }

    .resume-guide-grid {
        grid-template-columns: 1fr;
    }

    .resume-wechat-card {
        padding: 32px 22px;
        border-radius: 22px;
    }

    .resume-wechat-copy h2 {
        font-size: 27px;
    }
}
