.wx-feature-sales-crm {
    --crm-blue: #2f86f6;
    --crm-blue-deep: #0b58c4;
    --crm-navy: #0b244d;
    --crm-ink: #14213a;
    --crm-muted: #65748c;
    --crm-soft: #f3f7fd;
    --crm-line: #dce7f6;
    --crm-cyan: #35c8dc;
    --crm-coral: #ff6c73;
}

.wx-feature-sales-crm .fd-hero {
    min-height: 640px;
    background: #0b58c4;
}

.wx-feature-sales-crm .fd-hero::before {
    top: -310px;
    right: -80px;
    border-color: rgba(255,255,255,.14);
    box-shadow: 0 0 0 95px rgba(255,255,255,.035), 0 0 0 190px rgba(255,255,255,.02);
}

.wx-feature-sales-crm .fd-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .16;
    background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg,rgba(255,255,255,.12) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: linear-gradient(90deg,transparent,black 62%);
}

.wx-feature-sales-crm .fd-hero-grid {
    grid-template-columns: minmax(0,1fr) minmax(500px,.9fr);
    min-height: 640px;
    gap: 58px;
}

.wx-feature-sales-crm .fd-kicker { color: #cbe7ff; }
.wx-feature-sales-crm .fd-kicker::before { background: #69e1ee; }
.wx-feature-sales-crm .fd-hero h1 { max-width: 650px; font-size: clamp(48px,5.2vw,70px); }
.wx-feature-sales-crm .fd-hero-copy > p { max-width: 690px; }
.wx-feature-sales-crm .fd-button--primary { border-color: #fff; color: var(--crm-blue-deep); background: #fff; box-shadow: 0 14px 32px rgba(0,34,87,.25); }
.wx-feature-sales-crm .fd-button--primary:hover { color: var(--crm-blue-deep); }
.wx-feature-sales-crm .fd-section { padding: 0; }

.crm-hero-visual { min-height: 520px; }
.crm-hero-aura {
    position: absolute;
    top: 42px;
    right: 22px;
    width: 445px;
    height: 445px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50%;
    box-shadow: 0 0 0 46px rgba(255,255,255,.035), 0 0 0 92px rgba(255,255,255,.018);
}

.crm-hero-phone {
    position: absolute;
    z-index: 3;
    overflow: hidden;
    border: 7px solid #fff;
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 30px 70px rgba(0,31,80,.36);
}

.crm-hero-phone img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.crm-hero-phone--main { top: 3px; right: 185px; width: 244px; height: 510px; transform: rotate(-2deg); }
.crm-hero-phone--side { top: 65px; right: 4px; width: 205px; height: 438px; transform: rotate(4deg); }

.crm-hero-chip {
    position: absolute;
    z-index: 6;
    min-width: 154px;
    padding: 14px 17px;
    border: 1px solid rgba(255,255,255,.66);
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 17px 36px rgba(0,30,80,.25);
}

.crm-hero-chip b,.crm-hero-chip span { display: block; }
.crm-hero-chip b { color: var(--crm-ink); font-size: 16px; }
.crm-hero-chip span { margin-top: 5px; color: var(--crm-muted); font-size: 12px; }
.crm-hero-chip--customer { top: 38px; left: -8px; }
.crm-hero-chip--visit { bottom: 53px; left: 5px; }
.crm-hero-chip--growth { right: -8px; bottom: 5px; }
.crm-hero-chip--customer::before,.crm-hero-chip--visit::before,.crm-hero-chip--growth::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--crm-cyan);
    box-shadow: 0 0 0 5px rgba(53,200,220,.12);
}
.crm-hero-chip--visit::before { background: var(--crm-coral); box-shadow: 0 0 0 5px rgba(255,108,115,.12); }
.crm-hero-chip--growth::before { background: var(--crm-blue); box-shadow: 0 0 0 5px rgba(47,134,246,.12); }

.crm-page { padding-bottom: 110px; }
.crm-proof-strip {
    position: relative;
    z-index: 8;
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    overflow: hidden;
    margin-top: -44px;
    border: 1px solid var(--crm-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 20px 55px rgba(26,77,145,.13);
}

.crm-proof-strip article { position: relative; padding: 27px 22px; text-align: center; }
.crm-proof-strip article + article::before { content: ""; position: absolute; top: 23px; bottom: 23px; left: 0; width: 1px; background: var(--crm-line); }
.crm-proof-strip strong,.crm-proof-strip span { display: block; }
.crm-proof-strip strong { color: var(--crm-blue-deep); font-size: 19px; }
.crm-proof-strip span { margin-top: 8px; color: var(--crm-muted); font-size: 13px; line-height: 1.55; }

.crm-section-nav {
    position: sticky;
    z-index: 80;
    top: 86px;
    display: flex;
    width: max-content;
    max-width: calc(100% - 24px);
    gap: 5px;
    margin: 24px auto 0;
    padding: 7px;
    border: 1px solid var(--crm-line);
    border-radius: 14px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 14px 36px rgba(26,77,145,.12);
    backdrop-filter: blur(12px);
}

.crm-section-nav a { padding: 10px 17px; border-radius: 9px; color: #435a78; font-size: 14px; font-weight: 700; white-space: nowrap; transition: color .2s ease, background-color .2s ease; }
.crm-section-nav a:hover,.crm-section-nav a:focus-visible { color: var(--crm-blue-deep); background: #edf5ff; outline: none; }

.crm-section { padding-top: 105px; scroll-margin-top: 155px; }
.crm-section-head { max-width: 880px; margin: 0 0 46px; }
.crm-section-head > span,.crm-section-head > div > span { color: var(--crm-blue-deep); font-size: 13px; font-weight: 800; letter-spacing: .13em; }
.crm-section-head h2 { margin: 14px 0 16px; color: var(--crm-ink); font-size: clamp(32px,4vw,50px); line-height: 1.3; letter-spacing: -.035em; }
.crm-section-head p { margin: 0; color: var(--crm-muted); font-size: 17px; line-height: 1.9; }
.crm-section-head--split { display: grid; max-width: none; grid-template-columns: minmax(0,1fr) minmax(360px,.72fr); gap: 70px; align-items: end; }

.crm-overview-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(480px,1.1fr); gap: 48px; align-items: stretch; }
.crm-value-stack { display: grid; gap: 15px; }
.crm-value-stack article { display: grid; grid-template-columns: 52px minmax(0,1fr); gap: 18px; align-items: start; padding: 26px; border: 1px solid var(--crm-line); border-radius: 16px; background: var(--crm-soft); }
.crm-value-stack i { display: flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 14px; color: #fff; background: var(--crm-blue); font-size: 13px; font-style: normal; font-weight: 800; }
.crm-value-stack h3 { margin: 1px 0 8px; color: var(--crm-ink); font-size: 20px; }
.crm-value-stack p { margin: 0; color: var(--crm-muted); font-size: 15px; line-height: 1.75; }

.crm-overview-visual { position: relative; min-height: 555px; overflow: hidden; border-radius: 24px; background: #eaf3ff; }
.crm-screen-card { position: absolute; overflow: hidden; margin: 0; border: 6px solid #fff; border-radius: 25px; background: #fff; box-shadow: 0 25px 58px rgba(19,71,145,.19); }
.crm-screen-card img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.crm-screen-card figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 16px 18px; color: #fff; background: rgba(10,42,88,.88); }
.crm-screen-card figcaption b,.crm-screen-card figcaption span { display: block; }
.crm-screen-card figcaption b { font-size: 16px; }
.crm-screen-card figcaption span { margin-top: 4px; color: rgba(255,255,255,.75); font-size: 12px; }
.crm-screen-card--main { z-index: 2; top: 25px; left: 65px; width: 260px; height: 500px; transform: rotate(-2deg); }
.crm-screen-card--accent { z-index: 1; top: 57px; right: 40px; width: 225px; height: 450px; transform: rotate(4deg); }
.crm-screen-card--accent figcaption { color: var(--crm-blue-deep); background: rgba(255,255,255,.94); font-size: 13px; font-weight: 700; }

.crm-section--soft { margin-top: 105px; padding: 80px 56px; border-radius: 28px; background: var(--crm-soft); }
.crm-capability-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; }
.crm-capability-grid article { min-height: 215px; padding: 25px; border: 1px solid var(--crm-line); border-top: 4px solid var(--crm-blue); border-radius: 15px; background: #fff; box-shadow: 0 12px 30px rgba(25,76,145,.055); transition: transform .2s ease, box-shadow .2s ease; }
.crm-capability-grid article:hover { box-shadow: 0 18px 38px rgba(25,76,145,.11); transform: translateY(-3px); }
.crm-capability-grid i { color: var(--crm-blue-deep); font-size: 13px; font-style: normal; font-weight: 800; }
.crm-capability-grid h3 { margin: 19px 0 10px; color: var(--crm-ink); font-size: 20px; }
.crm-capability-grid p { margin: 0; color: var(--crm-muted); font-size: 14px; line-height: 1.74; }

.crm-journey { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; margin: 0 0 28px; padding: 0; border: 1px solid var(--crm-line); border-radius: 17px; background: #fff; list-style: none; box-shadow: 0 14px 36px rgba(25,76,145,.07); }
.crm-journey li { position: relative; padding: 24px 23px 24px 63px; }
.crm-journey li + li { border-left: 1px solid var(--crm-line); }
.crm-journey b { position: absolute; top: 24px; left: 22px; display: flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 9px; color: #fff; background: var(--crm-blue); font-size: 11px; }
.crm-journey strong,.crm-journey span { display: block; }
.crm-journey strong { color: var(--crm-ink); font-size: 17px; }
.crm-journey span { margin-top: 6px; color: var(--crm-muted); font-size: 13px; line-height: 1.5; }

.crm-screen-grid { display: grid; gap: 18px; }
.crm-screen-grid--four { grid-template-columns: repeat(4,minmax(0,1fr)); }
.crm-screen-grid figure { overflow: hidden; margin: 0; border: 1px solid var(--crm-line); border-radius: 19px; background: #fff; box-shadow: 0 16px 40px rgba(25,76,145,.085); }
.crm-screen-grid figure > div { height: 485px; overflow: hidden; background: #eaf1fa; }
.crm-screen-grid img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.crm-screen-grid figcaption { padding: 20px 21px; }
.crm-screen-grid b,.crm-screen-grid span { display: block; }
.crm-screen-grid b { color: var(--crm-ink); font-size: 18px; }
.crm-screen-grid span { margin-top: 7px; color: var(--crm-muted); font-size: 13px; line-height: 1.55; }

.crm-section--blue { margin-top: 105px; padding: 82px 56px; border-radius: 28px; color: #fff; background: var(--crm-navy); box-shadow: 0 24px 65px rgba(9,37,82,.19); }
.crm-section--blue .crm-section-head > div > span { color: #70dce9; }
.crm-section--blue .crm-section-head h2 { color: #fff; }
.crm-section--blue .crm-section-head p { color: rgba(225,238,255,.72); }
.crm-visit-layout { display: grid; grid-template-columns: minmax(280px,.62fr) minmax(0,1.38fr); gap: 42px; }
.crm-visit-copy { display: grid; gap: 15px; align-content: start; }
.crm-visit-copy article { padding: 23px; border: 1px solid rgba(255,255,255,.13); border-radius: 15px; background: rgba(255,255,255,.06); }
.crm-visit-copy b { display: inline-flex; padding: 6px 10px; border-radius: 8px; color: #d9f9ff; background: rgba(53,200,220,.18); font-size: 12px; }
.crm-visit-copy h3 { margin: 14px 0 8px; color: #fff; font-size: 19px; }
.crm-visit-copy p { margin: 0; color: rgba(225,238,255,.68); font-size: 14px; line-height: 1.72; }
.crm-visit-screens { display: grid; grid-template-columns: 1.14fr .93fr .93fr; gap: 16px; align-items: end; }
.crm-visit-screens figure { position: relative; height: 520px; overflow: hidden; margin: 0; border: 5px solid rgba(255,255,255,.94); border-radius: 24px; background: #fff; box-shadow: 0 20px 48px rgba(0,14,39,.35); }
.crm-visit-screens figure:nth-child(2),.crm-visit-screens figure:nth-child(3) { height: 450px; }
.crm-visit-screens img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.crm-visit-screens figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 13px 14px; color: #fff; background: rgba(10,39,82,.9); font-size: 12px; font-weight: 700; }

.crm-insight-grid { display: grid; grid-template-columns: minmax(360px,.76fr) minmax(0,1.24fr); gap: 70px; align-items: center; }
.crm-analysis-shot { overflow: hidden; margin: 0; border: 7px solid #fff; border-radius: 28px; background: #fff; box-shadow: 0 26px 65px rgba(25,76,145,.18); }
.crm-analysis-shot img { display: block; width: 100%; height: 620px; object-fit: cover; object-position: top; }
.crm-analysis-shot figcaption { padding: 20px 22px; border-top: 1px solid var(--crm-line); }
.crm-analysis-shot b,.crm-analysis-shot span { display: block; }
.crm-analysis-shot b { color: var(--crm-ink); font-size: 19px; }
.crm-analysis-shot span { margin-top: 7px; color: var(--crm-muted); font-size: 13px; }
.crm-insight-copy .crm-section-head { margin-bottom: 28px; }
.crm-metric-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.crm-metric-grid article { min-height: 116px; padding: 22px; border: 1px solid var(--crm-line); border-radius: 15px; background: var(--crm-soft); }
.crm-metric-grid strong,.crm-metric-grid span { display: block; }
.crm-metric-grid strong { color: var(--crm-blue-deep); font-size: 17px; }
.crm-metric-grid span { margin-top: 8px; color: var(--crm-muted); font-size: 13px; line-height: 1.55; }
.crm-manager-note { margin-top: 16px; padding: 23px 25px; border-left: 4px solid var(--crm-cyan); border-radius: 0 14px 14px 0; background: #eaf8fb; }
.crm-manager-note b { color: var(--crm-ink); font-size: 16px; }
.crm-manager-note p { margin: 8px 0 0; color: var(--crm-muted); font-size: 14px; line-height: 1.72; }

.crm-loop { margin-top: 105px; padding: 68px 55px; border: 1px solid var(--crm-line); border-radius: 26px; background: #fbfdff; }
.crm-loop .crm-section-head { max-width: 720px; margin-bottom: 35px; }
.crm-loop-grid { display: grid; grid-template-columns: repeat(7,auto); gap: 14px; align-items: center; }
.crm-loop-grid article { min-width: 0; padding: 22px; border: 1px solid var(--crm-line); border-radius: 15px; background: #fff; }
.crm-loop-grid article b { display: flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 9px; color: #fff; background: var(--crm-blue); font-size: 12px; }
.crm-loop-grid h3 { margin: 15px 0 8px; color: var(--crm-ink); font-size: 18px; }
.crm-loop-grid p { margin: 0; color: var(--crm-muted); font-size: 13px; line-height: 1.6; }
.crm-loop-grid > span { color: var(--crm-blue); font-size: 22px; font-weight: 800; }

.crm-previewable { cursor: zoom-in; }
.crm-previewable:focus-visible { outline: 3px solid rgba(53,200,220,.75); outline-offset: 4px; }
.crm-lightbox[hidden] { display: none; }
.crm-lightbox { position: fixed; z-index: 3000; inset: 0; display: flex; align-items: center; justify-content: center; padding: 72px 24px 34px; background: rgba(4,18,43,.92); backdrop-filter: blur(10px); }
.crm-lightbox figure { display: flex; max-width: min(94vw,1100px); max-height: calc(100vh - 112px); flex-direction: column; align-items: center; margin: 0; }
.crm-lightbox img { display: block; width: auto; max-width: 100%; height: auto; max-height: calc(100vh - 165px); border-radius: 16px; background: #fff; box-shadow: 0 30px 90px rgba(0,0,0,.42); }
.crm-lightbox figcaption { margin-top: 14px; color: rgba(255,255,255,.84); font-size: 14px; text-align: center; }
.crm-lightbox-close { position: absolute; top: 22px; right: 26px; min-width: 72px; height: 38px; border: 1px solid rgba(255,255,255,.38); border-radius: 10px; color: #fff; background: rgba(255,255,255,.1); cursor: pointer; }
body.crm-lightbox-open { overflow: hidden; }

.wx-feature-sales-crm .fd-siblings { background: #f1f6fc; }
.wx-feature-sales-crm .fd-cta { background: var(--crm-navy); }

@media (max-width: 1160px) {
    .wx-feature-sales-crm .fd-hero-grid { grid-template-columns: minmax(0,1fr) 450px; gap: 36px; }
    .crm-hero-phone--main { right: 155px; }
    .crm-hero-phone--side { right: 0; }
    .crm-capability-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .crm-screen-grid--four { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .crm-screen-grid figure > div { height: 560px; }
    .crm-visit-screens { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 980px) {
    .wx-feature-sales-crm .fd-hero-grid { grid-template-columns: 1fr; }
    .crm-hero-visual { width: min(100%,590px); margin: 0 auto; }
    .crm-section-head--split,.crm-overview-grid,.crm-visit-layout,.crm-insight-grid { grid-template-columns: 1fr; gap: 36px; }
    .crm-section-head--split { align-items: start; }
    .crm-capability-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .crm-journey { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .crm-journey li:nth-child(3) { border-left: 0; border-top: 1px solid var(--crm-line); }
    .crm-journey li:nth-child(4) { border-top: 1px solid var(--crm-line); }
    .crm-overview-visual { min-height: 580px; }
    .crm-screen-card--main { left: 20%; }
    .crm-screen-card--accent { right: 16%; }
    .crm-insight-grid { max-width: 780px; margin: 0 auto; }
    .crm-analysis-shot { max-width: 420px; margin: 0 auto; }
    .crm-loop-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
    .crm-loop-grid > span { display: none; }
}

@media (max-width: 680px) {
    .wx-feature-sales-crm .fd-hero-grid { gap: 28px; padding-bottom: 52px; }
    .wx-feature-sales-crm .fd-hero-visual { min-height: 430px; transform: none; }
    .crm-hero-aura { top: 55px; right: 50%; width: 330px; height: 330px; margin-right: -165px; }
    .crm-hero-phone--main { top: 5px; right: 50%; width: 190px; height: 402px; margin-right: -65px; }
    .crm-hero-phone--side { top: 72px; right: 50%; width: 152px; height: 330px; margin-right: -170px; }
    .crm-hero-chip { min-width: 120px; padding: 11px 12px; }
    .crm-hero-chip b { font-size: 13px; }
    .crm-hero-chip span { font-size: 10px; }
    .crm-hero-chip--customer { top: 32px; left: 0; }
    .crm-hero-chip--visit { bottom: 50px; left: 0; }
    .crm-hero-chip--growth { right: 0; bottom: 6px; }
    .crm-proof-strip { grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: -28px; }
    .crm-proof-strip article { padding: 21px 14px; }
    .crm-proof-strip article:nth-child(3)::before { display: none; }
    .crm-proof-strip article:nth-child(n+3) { border-top: 1px solid var(--crm-line); }
    .crm-proof-strip strong { font-size: 16px; }
    .crm-proof-strip span { font-size: 12px; }
    .crm-section-nav { top: 82px; max-width: 100%; overflow-x: auto; justify-content: flex-start; margin-top: 18px; }
    .crm-section-nav a { padding: 9px 13px; font-size: 13px; }
    .crm-section { padding-top: 76px; scroll-margin-top: 145px; }
    .crm-section-head { margin-bottom: 32px; }
    .crm-section-head h2 { font-size: 31px; }
    .crm-section-head p { font-size: 15px; }
    .crm-overview-visual { min-height: 470px; }
    .crm-screen-card--main { top: 18px; left: 8%; width: 205px; height: 414px; }
    .crm-screen-card--accent { top: 60px; right: 7%; width: 170px; height: 350px; }
    .crm-section--soft,.crm-section--blue,.crm-loop { margin-top: 76px; padding: 55px 20px; border-radius: 21px; }
    .crm-capability-grid,.crm-screen-grid--four,.crm-metric-grid,.crm-loop-grid { grid-template-columns: 1fr; }
    .crm-capability-grid article { min-height: 0; }
    .crm-journey { grid-template-columns: 1fr; }
    .crm-journey li + li { border-top: 1px solid var(--crm-line); border-left: 0; }
    .crm-screen-grid figure > div { height: 560px; }
    .crm-visit-screens { grid-template-columns: 1fr; max-width: 350px; margin: 0 auto; }
    .crm-visit-screens figure,.crm-visit-screens figure:nth-child(2),.crm-visit-screens figure:nth-child(3) { height: 560px; }
    .crm-analysis-shot img { height: 560px; }
    .crm-loop-grid > span { display: none; }
    .crm-lightbox { padding: 68px 14px 25px; }
    .crm-lightbox-close { top: 16px; right: 16px; }
}
