:root {
    --pda-green: #04bf70;
    --pda-green-dark: #08734e;
    --pda-lime: #a8ed55;
    --pda-orange: #ff9738;
    --pda-night: #092b31;
    --pda-ink: #162c35;
    --pda-muted: #667980;
    --pda-line: #dce9e5;
    --pda-soft: #f2f9f6;
    --pda-shadow: 0 25px 66px rgba(8, 93, 69, .14);
}

.wx-feature-pda-sorting .fd-hero { min-height: 700px; background: radial-gradient(circle at 78% 9%,rgba(168,237,85,.25),transparent 26%),radial-gradient(circle at 8% 112%,rgba(19,156,123,.46),transparent 39%),linear-gradient(125deg,#06252e 0%,#075945 57%,#08a968 100%); }
.wx-feature-pda-sorting .fd-hero-grid { min-height: 700px; grid-template-columns: minmax(0,.91fr) minmax(560px,1.09fr); gap: 50px; padding-top: 66px; }
.wx-feature-pda-sorting .fd-kicker { color: #8df4c9; }
.wx-feature-pda-sorting .fd-kicker::before { background: var(--pda-orange); }
.wx-feature-pda-sorting .fd-button--primary { border-color: var(--pda-orange); background: var(--pda-orange); box-shadow: 0 14px 32px rgba(255,151,56,.25); }
.wx-feature-pda-sorting .fd-section { background: #fff; }
.wx-feature-pda-sorting .fd-siblings { background: var(--pda-soft); }
.wx-feature-pda-sorting .fd-cta { background: var(--pda-night); }

.pda-hero-visual { min-height: 550px; }
.pda-hero-gridlines { position: absolute; inset: 48px 0 3px; opacity: .28; background-image: linear-gradient(rgba(142,244,202,.25) 1px,transparent 1px),linear-gradient(90deg,rgba(142,244,202,.25) 1px,transparent 1px); background-size: 32px 32px; transform: perspective(720px) rotateX(61deg) rotateZ(-7deg); }
.pda-hero-hardware { position: absolute; z-index: 3; top: 58px; right: 15px; width: 475px; height: 365px; overflow: hidden; border: 7px solid #fff; background: #fff; box-shadow: 0 32px 78px rgba(1,29,31,.45); cursor: zoom-in; transform: rotate(1.4deg); }
.pda-hero-hardware img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pda-hero-screen { position: absolute; z-index: 5; right: 0; bottom: 8px; width: 154px; height: 286px; overflow: hidden; border: 6px solid #10252b; border-radius: 23px; background: #fff; box-shadow: 0 24px 50px rgba(0,24,29,.42); cursor: zoom-in; transform: rotate(4deg); }
.pda-hero-screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.pda-hero-chip { position: absolute; z-index: 7; min-width: 144px; padding: 11px 14px; border: 1px solid rgba(255,255,255,.3); color: #fff; background: rgba(6,37,46,.86); box-shadow: 0 16px 36px rgba(0,27,30,.3); backdrop-filter: blur(11px); }
.pda-hero-chip b,.pda-hero-chip span { display: block; }
.pda-hero-chip b { font-size: 14px; }
.pda-hero-chip span { margin-top: 5px; color: rgba(225,255,244,.65); font-size: 10px; }
.pda-hero-chip--device { top: 5px; left: 12px; border-color: rgba(168,237,85,.58); }
.pda-hero-chip--scale { bottom: 66px; left: 8px; }
.pda-hero-chip--print { right: 138px; bottom: -5px; border-color: rgba(255,151,56,.55); }

.pda-page { color: var(--pda-ink); }
.pda-page * { box-sizing: border-box; }
.pda-page img { max-width: 100%; }
.pda-proof-strip { position: relative; z-index: 4; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: -91px; margin-bottom: 46px; overflow: hidden; border: 1px solid var(--pda-line); background: #fff; box-shadow: var(--pda-shadow); }
.pda-proof-strip article { min-height: 128px; padding: 25px 24px; border-right: 1px solid var(--pda-line); }
.pda-proof-strip article:last-child { border-right: 0; }
.pda-proof-strip strong,.pda-proof-strip span { display: block; }
.pda-proof-strip strong { color: var(--pda-green-dark); font-size: 18px; }
.pda-proof-strip span { margin-top: 8px; color: var(--pda-muted); font-size: 12px; line-height: 1.65; }
.pda-local-nav { position: sticky; z-index: 20; top: 82px; display: flex; justify-content: center; gap: 6px; width: fit-content; max-width: 100%; margin: 0 auto 82px; padding: 6px; border: 1px solid var(--pda-line); border-radius: 999px; background: rgba(255,255,255,.91); box-shadow: 0 13px 36px rgba(8,93,69,.1); backdrop-filter: blur(14px); }
.pda-local-nav a { padding: 11px 18px; border-radius: 999px; color: #5a6f74; font-size: 13px; font-weight: 700; white-space: nowrap; transition: .2s ease; }
.pda-local-nav a:hover { color: #fff; background: var(--pda-green-dark); }
.pda-section-head { max-width: 860px; margin-bottom: 39px; }
.pda-section-head > span,.pda-eyebrow { display: block; margin-bottom: 15px; color: var(--pda-green-dark); font-size: 11px; font-weight: 900; letter-spacing: .16em; }
.pda-section-head h2,.pda-device-copy h2 { margin: 0; color: var(--pda-ink); font-size: clamp(34px,4.2vw,50px); line-height: 1.25; letter-spacing: -.04em; }
.pda-section-head p,.pda-device-copy > p { margin: 18px 0 0; color: var(--pda-muted); font-size: 16px; line-height: 1.9; }

.pda-workflow { margin-bottom: 112px; padding: 56px; border: 1px solid #d9e9e3; background: linear-gradient(135deg,#f5fbf8,#edf8f3); box-shadow: var(--pda-shadow); }
.pda-flow-rail { position: relative; display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 11px; margin: 45px 0 0; padding: 0; list-style: none; }
.pda-flow-rail::before { content: ""; position: absolute; top: 32px; right: 7%; left: 7%; height: 2px; background: linear-gradient(90deg,var(--pda-green),var(--pda-lime),var(--pda-orange)); }
.pda-flow-rail li { position: relative; z-index: 1; min-height: 196px; padding: 20px 15px; border: 1px solid #d9e7e3; background: #fff; box-shadow: 0 12px 26px rgba(11,89,68,.07); }
.pda-flow-rail i { display: grid; width: 29px; height: 29px; place-items: center; margin-bottom: 32px; border-radius: 50%; color: #fff; background: var(--pda-green); box-shadow: 0 0 0 7px #e8f8f1; font-size: 10px; font-style: normal; font-weight: 900; }
.pda-flow-rail strong,.pda-flow-rail span,.pda-flow-rail b { display: block; }
.pda-flow-rail strong { font-size: 15px; line-height: 1.45; }
.pda-flow-rail span { margin-top: 8px; color: var(--pda-muted); font-size: 12px; line-height: 1.6; }
.pda-flow-rail b { margin-top: 12px; color: #9aaba6; font-size: 9px; letter-spacing: .12em; }

.pda-modes { margin-bottom: 112px; }
.pda-mode-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.pda-mode-grid figure { margin: 0; overflow: hidden; border: 1px solid var(--pda-line); background: #fff; box-shadow: 0 16px 38px rgba(8,93,69,.09); cursor: zoom-in; transition: .25s ease; }
.pda-mode-grid figure:hover { transform: translateY(-6px); box-shadow: 0 25px 48px rgba(8,93,69,.15); }
.pda-mode-grid figure > div { height: 350px; overflow: hidden; background: #edf5f1; }
.pda-mode-grid img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .35s ease; }
.pda-mode-grid figure:hover img { transform: scale(1.02); }
.pda-mode-grid figcaption { position: relative; min-height: 126px; padding: 20px 17px 18px 56px; }
.pda-mode-grid figcaption b { position: absolute; top: 20px; left: 17px; color: var(--pda-green); font-size: 11px; }
.pda-mode-grid figcaption strong,.pda-mode-grid figcaption span { display: block; }
.pda-mode-grid figcaption strong { font-size: 16px; line-height: 1.45; }
.pda-mode-grid figcaption span { margin-top: 7px; color: var(--pda-muted); font-size: 11px; line-height: 1.6; }

.pda-devices { display: grid; grid-template-columns: minmax(350px,.8fr) minmax(0,1.2fr); align-items: center; gap: 65px; margin-bottom: 112px; padding: 60px; color: #fff; background: linear-gradient(135deg,#082b31,#075b47); }
.pda-device-copy h2 { color: #fff; }
.pda-device-copy > p { color: rgba(229,255,246,.69); }
.pda-device-points { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 26px; }
.pda-device-points article { padding: 16px; border: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.06); }
.pda-device-points b,.pda-device-points span { display: block; }
.pda-device-points b { font-size: 13px; }
.pda-device-points span { margin-top: 6px; color: rgba(223,247,239,.62); font-size: 10px; line-height: 1.55; }
.pda-device-visual { position: relative; min-height: 520px; }
.pda-hardware-shot { position: absolute; top: 10px; left: 0; width: 83%; height: 420px; overflow: hidden; border: 7px solid #fff; background: #fff; box-shadow: 0 28px 65px rgba(0,20,26,.38); cursor: zoom-in; transform: rotate(-1deg); }
.pda-hardware-shot img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pda-settings-shot { position: absolute; z-index: 3; right: 0; bottom: 0; width: 205px; height: 365px; overflow: hidden; border: 6px solid #102f34; border-radius: 25px; background: #fff; box-shadow: 0 28px 60px rgba(0,20,26,.42); cursor: zoom-in; transform: rotate(3deg); }
.pda-settings-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }

.pda-operations { margin-bottom: 112px; }
.pda-gallery { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; }
.pda-gallery figure { position: relative; min-height: 410px; margin: 0; overflow: hidden; border: 1px solid var(--pda-line); background: #fff; box-shadow: 0 13px 30px rgba(8,93,69,.08); cursor: zoom-in; }
.pda-gallery figure > img { display: block; width: 100%; height: 350px; object-fit: cover; object-position: top; transition: transform .35s ease; }
.pda-gallery figure:hover > img { transform: scale(1.025); }
.pda-gallery figcaption { min-height: 60px; padding: 16px; font-size: 14px; font-weight: 800; }
.pda-gallery figcaption span { display: block; margin-top: 5px; color: var(--pda-muted); font-size: 10px; font-weight: 400; }
.pda-gallery .pda-gallery-wide { grid-column: span 2; }

.pda-features { margin-bottom: 30px; }
.pda-feature-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; }
.pda-feature-grid article { min-height: 210px; padding: 24px 21px; border: 1px solid var(--pda-line); background: #fff; box-shadow: 0 12px 27px rgba(8,93,69,.06); transition: .25s ease; }
.pda-feature-grid article:hover { border-color: rgba(4,191,112,.46); transform: translateY(-5px); box-shadow: 0 20px 38px rgba(8,115,78,.13); }
.pda-feature-grid article > b { color: var(--pda-green); font-size: 11px; letter-spacing: .14em; }
.pda-feature-grid h3 { margin: 30px 0 10px; font-size: 17px; line-height: 1.4; }
.pda-feature-grid p { margin: 0; color: var(--pda-muted); font-size: 12px; line-height: 1.7; }
.pda-more-note { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 25px; margin-top: 17px; padding: 24px 27px; color: #fff; background: var(--pda-night); }
.pda-more-note span { color: var(--pda-lime); font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.pda-more-note b { font-size: 14px; }
.pda-more-note a { color: #fff; font-size: 13px; font-weight: 800; }

.pda-lightbox[hidden] { display: none; }
.pda-lightbox { position: fixed; z-index: 5000; inset: 0; display: grid; place-items: center; padding: 32px; background: rgba(2,21,25,.94); backdrop-filter: blur(11px); }
.pda-lightbox figure { display: flex; width: min(94vw,1340px); max-height: 88vh; flex-direction: column; align-items: center; margin: 0; }
.pda-lightbox img { display: block; max-width: 100%; max-height: calc(88vh - 60px); object-fit: contain; background: #fff; box-shadow: 0 30px 85px rgba(0,0,0,.5); }
.pda-lightbox figcaption { margin-top: 13px; color: rgba(235,255,248,.82); font-size: 14px; line-height: 1.6; text-align: center; }
.pda-lightbox-close { position: fixed; z-index: 2; top: 24px; right: 28px; min-width: 66px; min-height: 42px; padding: 9px 14px; border: 1px solid rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.08); cursor: pointer; }
body.pda-lightbox-open { overflow: hidden; }

@media (max-width: 1120px) {
    .wx-feature-pda-sorting .fd-hero-grid { grid-template-columns: minmax(0,.86fr) minmax(510px,1.14fr); gap: 30px; }
    .pda-hero-hardware { width: 440px; height: 340px; }
    .pda-mode-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .pda-gallery { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 980px) {
    .wx-feature-pda-sorting .fd-hero { min-height: 1080px; }
    .wx-feature-pda-sorting .fd-hero-grid { min-height: 1080px; grid-template-columns: 1fr; }
    .pda-hero-visual { width: min(660px,100%); min-height: 520px; margin: 0 auto; }
    .pda-hero-hardware { right: 7%; width: 78%; height: 390px; }
    .pda-devices { grid-template-columns: 1fr; }
    .pda-feature-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 760px) {
    .wx-feature-pda-sorting .fd-hero { min-height: 885px; }
    .wx-feature-pda-sorting .fd-hero-grid { min-height: 885px; }
    .pda-hero-visual { min-height: 360px; }
    .pda-hero-hardware { top: 37px; right: 4%; width: 88%; height: 282px; border-width: 5px; }
    .pda-hero-screen { right: 0; bottom: 3px; width: 105px; height: 198px; border-width: 4px; border-radius: 18px; }
    .pda-hero-chip { min-width: 124px; padding: 9px 11px; }
    .pda-hero-chip--device { top: 0; left: 0; }
    .pda-hero-chip--scale { bottom: 0; left: 0; }
    .pda-hero-chip--print { right: 76px; bottom: -13px; }
    .pda-workflow,.pda-devices { margin-bottom: 84px; padding: 27px 19px; }
    .pda-flow-rail { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 30px; }
    .pda-flow-rail::before { display: none; }
    .pda-flow-rail li { min-height: 172px; padding: 17px 14px; }
    .pda-flow-rail i { margin-bottom: 20px; }
    .pda-modes,.pda-operations { margin-bottom: 84px; }
    .pda-mode-grid { gap: 10px; }
    .pda-mode-grid figure > div { height: 265px; }
    .pda-mode-grid figcaption { min-height: 116px; padding: 17px 12px 15px 43px; }
    .pda-mode-grid figcaption b { top: 17px; left: 12px; }
    .pda-device-points { grid-template-columns: 1fr; }
    .pda-device-visual { min-height: 400px; }
    .pda-hardware-shot { width: 90%; height: 310px; border-width: 5px; }
    .pda-settings-shot { width: 135px; height: 245px; border-width: 4px; }
    .pda-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
    .pda-gallery figure { min-height: 335px; }
    .pda-gallery figure > img { height: 276px; }
    .pda-feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
    .pda-feature-grid article { min-height: 205px; padding: 21px 17px; }
    .pda-more-note { grid-template-columns: 1fr; gap: 12px; }
    .pda-lightbox { padding: 18px; }
}

@media (max-width: 430px) {
    .pda-mode-grid { grid-template-columns: 1fr; }
    .pda-mode-grid figure > div { height: 340px; }
    .pda-gallery { grid-template-columns: 1fr; }
    .pda-gallery .pda-gallery-wide { grid-column: auto; }
    .pda-gallery figure { min-height: 420px; }
    .pda-gallery figure > img { height: 360px; }
    .pda-feature-grid { grid-template-columns: 1fr; }
    .pda-feature-grid article { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .pda-mode-grid figure,.pda-mode-grid img,.pda-gallery img,.pda-feature-grid article { transition: none; }
}
