.pdf-tool-page { width: min(100%, 1040px); margin: 0 auto; padding: 24px 0 72px; }
.pdf-tool-hero { position: relative; overflow: hidden; padding: clamp(30px, 5vw, 58px); border: 1px solid rgba(86, 195, 255, .27); border-radius: 24px; background: radial-gradient(circle at 88% 15%, rgba(36, 180, 247, .2), transparent 35%), linear-gradient(135deg, #111b25 0%, #0c0d11 68%); box-shadow: 0 20px 60px rgba(0, 0, 0, .24); }
.pdf-tool-hero::after { content: ''; position: absolute; width: 250px; height: 250px; right: -100px; bottom: -155px; border: 1px solid rgba(124, 214, 255, .2); border-radius: 50%; box-shadow: 0 0 0 28px rgba(103, 207, 255, .035), 0 0 0 56px rgba(103, 207, 255, .025); pointer-events: none; }
.pdf-tool-eyebrow { position: relative; z-index: 1; margin: 0 0 12px; color: #82d3ff; font-size: 11px; font-weight: 800; letter-spacing: .13em; }
.pdf-tool-hero h1 { position: relative; z-index: 1; max-width: 720px; margin: 0; color: #fff; font-size: clamp(30px, 5vw, 54px); line-height: 1.06; letter-spacing: -.045em; }
.pdf-tool-hero > p:not(.pdf-tool-eyebrow) { position: relative; z-index: 1; max-width: 630px; margin: 18px 0 0; color: #c5cbd1; font-size: 16px; line-height: 1.7; }
.pdf-tool-trust { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 9px; padding: 0; margin: 23px 0 0; list-style: none; }
.pdf-tool-trust li { padding: 8px 11px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; color: #e9f1f5; background: rgba(255,255,255,.055); font-size: 12px; font-weight: 650; }
.pdf-tool-workbench { margin-top: 22px; padding: clamp(18px, 4vw, 34px); border: 1px solid rgba(255,255,255,.1); border-radius: 22px; background: #111116; }
.pdf-tool-upload { position: relative; min-height: 226px; border: 1px dashed rgba(93, 205, 255, .45); border-radius: 17px; background: linear-gradient(145deg, rgba(42, 173, 238, .09), rgba(255,255,255,.015)); transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.pdf-tool-upload.is-dragging { border-color: #b0e7ff; background: rgba(50, 177, 238, .18); transform: scale(1.008); }
.pdf-tool-file-input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.pdf-tool-upload-label { display: flex; min-height: 193px; padding: 30px 20px 20px; align-items: center; justify-content: center; flex-direction: column; gap: 8px; cursor: pointer; text-align: center; }
.pdf-tool-upload-icon { display: grid; width: 58px; height: 58px; margin-bottom: 6px; place-items: center; border: 1px solid rgba(164, 229, 255, .34); border-radius: 18px; color: #d4f2ff; background: rgba(52, 183, 237, .14); font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.pdf-tool-upload-label strong { color: #fff; font-size: 17px; }
.pdf-tool-upload-label span:not(.pdf-tool-upload-icon) { color: #aeb5bd; font-size: 13px; }
.pdf-tool-upload-note { margin: 0 16px 15px; color: #858c95; font-size: 11px; text-align: center; }
.pdf-tool-file-list { display: grid; gap: 8px; margin-top: 17px; }
.pdf-tool-file-card { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px; border: 1px solid rgba(255,255,255,.09); border-radius: 12px; background: rgba(255,255,255,.025); cursor: grab; }
.pdf-tool-file-card.is-dragging { opacity: .45; }
.pdf-tool-file-card.is-over { border-color: rgba(105, 214, 255, .75); }
.pdf-tool-file-order { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 9px; color: #9fdef8; background: rgba(41, 174, 234, .13); font-size: 11px; font-weight: 800; }
.pdf-tool-file-details { display: grid; gap: 3px; min-width: 0; }
.pdf-tool-file-details strong { overflow: hidden; color: #f1f5f7; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.pdf-tool-file-details span { color: #969da5; font-size: 11px; }
.pdf-tool-file-remove, .pdf-tool-secondary, .pdf-tool-primary, .pdf-tool-result-download { min-height: 40px; padding: 0 14px; border-radius: 10px; cursor: pointer; font: inherit; font-size: 13px; font-weight: 750; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.pdf-tool-file-remove, .pdf-tool-secondary { border: 1px solid rgba(255,255,255,.13); color: #e5eaf0; background: rgba(255,255,255,.045); }
.pdf-tool-primary { border: 1px solid #49bfe9; color: #06202a; background: linear-gradient(135deg, #69d9ff, #45b7e5); box-shadow: 0 8px 22px rgba(49, 168, 215, .2); }
.pdf-tool-result-download { border: 1px solid #65d4ff; color: #06202a; background: #8be1ff; }
.pdf-tool-file-remove:hover, .pdf-tool-secondary:hover, .pdf-tool-primary:hover, .pdf-tool-result-download:hover { transform: translateY(-1px); }
.pdf-tool-primary:disabled, .pdf-tool-secondary:disabled { opacity: .6; cursor: wait; transform: none; }
.pdf-tool-controls { margin-top: 17px; padding: 20px; border: 1px solid rgba(255,255,255,.09); border-radius: 16px; background: #17171e; }
.pdf-tool-control-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.pdf-tool-field { display: block; min-width: 0; }
.pdf-tool-field > span { display: block; margin-bottom: 8px; color: #f2f4f7; font-size: 13px; font-weight: 700; }
.pdf-tool-field input, .pdf-tool-field select { width: 100%; min-height: 43px; padding: 0 12px; border: 1px solid rgba(255,255,255,.13); border-radius: 10px; outline: none; color: #f7f9fb; background: #0d0d12; font: inherit; }
.pdf-tool-field input[type="range"] { padding: 0; accent-color: #67d7ff; }
.pdf-tool-field input:focus, .pdf-tool-field select:focus { border-color: #70d8ff; box-shadow: 0 0 0 3px rgba(61, 186, 235, .16); }
.pdf-tool-field small { display: block; margin-top: 7px; color: #8c949d; font-size: 11px; line-height: 1.42; }
.pdf-tool-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.pdf-tool-status { min-height: 20px; margin: 17px 0 0; color: #9ca4ad; font-size: 13px; line-height: 1.5; }
.pdf-tool-status.is-ready { color: #9adfbd; }
.pdf-tool-status.is-working { color: #9fddf6; }
.pdf-tool-status.is-error { color: #f0a5ac; }
.pdf-tool-result { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 16px; align-items: center; margin-top: 17px; padding: 15px; border: 1px solid rgba(90, 217, 159, .25); border-radius: 14px; background: rgba(54, 189, 127, .07); }
.pdf-tool-result strong { color: #ecfff5; font-size: 14px; }
.pdf-tool-result span { color: #9bb8a9; font-size: 12px; }
.pdf-tool-result-download { grid-row: 1 / span 2; grid-column: 2; }
.pdf-tool-faq { padding: 54px 8px 0; }
.pdf-tool-faq h2 { margin: 0 0 20px; color: #f5f7f8; font-size: clamp(21px, 3vw, 30px); letter-spacing: -.035em; }
.pdf-tool-faq > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pdf-tool-faq article { padding: 17px; border: 1px solid rgba(255,255,255,.08); border-radius: 15px; background: rgba(255,255,255,.025); }
.pdf-tool-faq h3 { margin: 0; color: #f0f5f7; font-size: 14px; }
.pdf-tool-faq p { margin: 9px 0 0; color: #9ba3ab; font-size: 12px; line-height: 1.65; }
.pdf-tool-directory-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.pdf-tool-directory-card { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 13px; align-items: center; min-height: 108px; padding: 16px; border: 1px solid rgba(255,255,255,.11); border-radius: 16px; color: inherit; background: rgba(255,255,255,.025); transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.pdf-tool-directory-card:hover { border-color: rgba(104, 214, 255, .55); background: rgba(74, 187, 235, .08); transform: translateY(-2px); }
.pdf-tool-directory-icon { display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid rgba(135, 222, 255, .35); border-radius: 13px; color: #b5e9ff; background: rgba(54, 185, 239, .13); font-size: 10px; font-weight: 900; letter-spacing: .07em; }
.pdf-tool-directory-card > span:nth-child(2) { display: grid; gap: 5px; min-width: 0; }
.pdf-tool-directory-card strong { color: #f2f7f9; font-size: 15px; }
.pdf-tool-directory-card small { color: #9da7af; font-size: 12px; line-height: 1.5; }
.pdf-tool-directory-card b { color: #9edff9; font-size: 17px; font-weight: 500; }
@media (max-width: 640px) { .pdf-tool-directory-list { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .pdf-tool-page { padding-top: 14px; } .pdf-tool-control-grid, .pdf-tool-faq > div { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .pdf-tool-hero { border-radius: 18px; } .pdf-tool-workbench { padding: 13px; border-radius: 18px; } .pdf-tool-actions { flex-direction: column-reverse; } .pdf-tool-actions button { width: 100%; } .pdf-tool-file-card { grid-template-columns: 36px minmax(0, 1fr); } .pdf-tool-file-remove { grid-column: 1 / -1; width: 100%; } .pdf-tool-result { grid-template-columns: 1fr; } .pdf-tool-result-download { grid-row: auto; grid-column: auto; width: 100%; margin-top: 5px; } }
