@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
:root{--bg:#f5f8ff;--surface:#fff;--text:#101c49;--muted:#65759a;--line:#dbe6fb;--blue:#3868ff;--blue2:#4c7cff;--soft:#edf3ff;--green:#159b79;--shadow:0 8px 30px rgba(31,72,145,.05)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:linear-gradient(135deg,#f7faff,#f1f7ff);font-family:Inter,system-ui,sans-serif;color:var(--text);font-size:14px}.topbar{height:76px;background:rgba(255,255,255,.94);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 max(calc((100% - 1250px)/2),5%);gap:25px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--text)}.brand-icon{display:grid;place-items:center;background:linear-gradient(140deg,#5686ff,#3157f2);color:white;width:42px;height:42px;border-radius:10px;font-size:25px;box-shadow:0 5px 12px #3d6cff2c}.brand strong{font-size:22px;letter-spacing:-.7px;display:block}.brand em{font-style:normal;color:var(--blue)}.brand small{display:block;color:#53658f;font-size:15px;margin-top:0}nav{display:flex;gap:34px;margin-left:auto}nav a{text-decoration:none;color:#3d4e7a;padding:28px 0;font-weight:500}nav a:hover,nav a.active{color:var(--blue)}nav a.active{border-bottom:2px solid var(--blue)}button,select,input{font:inherit}button{cursor:pointer}.icon-button{border:0;background:transparent;color:var(--text);font-size:24px;padding:8px}.hero{max-width:1250px;margin:30px auto 28px;display:flex;align-items:center;justify-content:center;gap:32px;padding:0 12px}.hero h1{font-size:clamp(28px,3vw,43px);letter-spacing:-1.6px;margin:0 0 12px;font-weight:800}.hero p{font-size:17px;color:#53658f;margin:0 0 9px}.hero small{font-size:13px;color:#7182a7}.hero-art{position:relative;width:180px;height:112px;display:grid;place-items:center;flex-shrink:0}.picture{font-size:72px;color:#4775ff;transform:rotate(-8deg);text-shadow:9px 6px 0 #dce8ff}.arrow{position:absolute;right:7px;top:3px;color:var(--blue);font-size:37px;transform:rotate(-25deg)}.pdf-chip{position:absolute;right:0;bottom:3px;background:#ff5262;color:#fff;font-weight:800;padding:15px 12px;border-radius:7px;transform:rotate(8deg);box-shadow:0 6px 12px #ff52622a}.workspace{max-width:1250px;margin:auto;display:grid;grid-template-columns:minmax(0,1.68fr) minmax(350px,.94fr);gap:18px;padding:0 0 5px}.panel{background:var(--surface);border:1px solid var(--line);border-radius:9px;box-shadow:var(--shadow);min-width:0}.upload-panel{padding:18px 22px 15px}.steps{display:flex;align-items:center;gap:13px;border-bottom:1px solid var(--line);padding:0 5px 15px;margin-bottom:24px}.step{display:flex;align-items:center;gap:10px;color:#8a99b9;white-space:nowrap;font-weight:600}.step b{display:grid;place-items:center;border-radius:50%;width:34px;height:34px;background:#dfe5ef;color:#fff;font-size:16px}.step.current{color:var(--blue)}.step.current b{background:var(--blue)}.steps i{height:1px;background:#d7e2f7;flex:1;min-width:8px;position:relative}.steps i:after{content:'›';position:absolute;right:-1px;top:-10px;color:#c5d5f4;font-size:20px}.drop-zone{border:2px dashed #cfe0ff;border-radius:8px;min-height:285px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;background:linear-gradient(140deg,#fff,#fbfdff);transition:.2s;outline:none}.drop-zone.dragover{background:#edf4ff;border-color:var(--blue);transform:scale(.995)}.cloud{width:70px;height:52px;border-radius:30px 30px 18px 18px;background:linear-gradient(135deg,#5684ff,#3159f7);color:white;font-size:44px;line-height:52px;text-align:center;font-weight:600}.drop-zone strong{font-size:15px}.drop-zone>span{color:var(--muted);margin-top:-6px}.drop-zone small{color:#8797b8;font-size:11px;margin-top:12px;text-align:center}.primary{border:0;border-radius:7px;padding:14px 28px;color:#fff;background:linear-gradient(100deg,#426fff,#3862f7);font-weight:700;box-shadow:0 5px 12px #3868ff26}.primary:hover,.convert-button:hover{filter:brightness(1.05);transform:translateY(-1px)}.selected-head{display:flex;align-items:center;justify-content:space-between;margin:27px 2px 12px}.selected-head strong{font-size:14px}.text-danger{border:0;background:none;color:#e63e4b;font-size:12px}.empty-state{color:#8b9ab7;font-size:12px;text-align:center;padding:12px 0}.image-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(125px,145px));gap:10px}.image-card{position:relative;border:1px solid var(--line);border-radius:7px;padding:9px;background:#fbfdff;cursor:grab;min-width:0}.image-card.dragging{opacity:.45}.image-card img{display:block;width:100%;height:88px;object-fit:cover;border-radius:5px;background:#eaf0fb}.image-card .remove{position:absolute;right:5px;top:5px;border:1px solid #fff;background:#ed4854;color:#fff;border-radius:50%;width:20px;height:20px;font-size:12px;line-height:16px;padding:0}.image-card .file-name{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px;margin-top:8px}.image-card .file-size{display:block;color:#7081a5;font-size:10px;margin-top:5px}.list-footer{display:flex;justify-content:space-between;gap:10px;color:#8796b5;font-size:11px;margin:14px 2px 0}.status{min-height:16px;color:var(--green);font-size:12px;margin:9px 2px 0}.options-panel{overflow:hidden}.options-panel h2{font-size:16px;margin:0;padding:18px 18px 14px;background:#fbfdff;border-bottom:1px solid #edf2fc}.option-content{padding:14px 17px 16px}.section-label{display:block;font-weight:700;font-size:13px;margin:0 0 8px}.option-content select{width:100%;height:35px;border:1px solid #d5e0f5;border-radius:6px;background:#fff;color:#31446f;padding:0 10px;margin-bottom:17px;font-size:12px}.layout-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-bottom:17px}.layout-choice{min-height:69px;border:1px solid #d7e2f7;border-radius:7px;background:#fff;color:#344a7b;font-size:11px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;padding:5px 2px}.layout-choice span{font-size:23px;color:#8093bb}.layout-choice.selected{border:1.5px solid var(--blue);background:#f7f9ff;color:#1e49c9;box-shadow:inset 0 0 0 1px #3868ff10}.layout-choice.selected span{color:var(--blue)}.radio-row{display:flex;gap:30px;margin:0 0 18px;color:#3f5078;font-size:12px}.radio-row label,.check-list label{display:flex;align-items:center;gap:8px}.radio-row input,.check-list input{accent-color:var(--blue);width:16px;height:16px;margin:0}.switch-row{display:flex;align-items:center;justify-content:space-between;margin:0 0 12px}.switch-row .section-label{margin:0}.switch{position:relative;width:42px;height:22px;display:inline-block}.switch input{opacity:0;width:0;height:0}.switch span{position:absolute;inset:0;border-radius:20px;background:#cbd4e5;cursor:pointer;transition:.2s}.switch span:before{content:'';position:absolute;width:16px;height:16px;left:3px;top:3px;background:#fff;border-radius:50%;transition:.2s}.switch input:checked+span{background:var(--blue)}.switch input:checked+span:before{transform:translateX(20px)}.setting-row{display:grid;grid-template-columns:1fr 1.4fr;align-items:center;gap:8px;margin:0 0 12px;color:#3c4e78;font-size:11px}.range-wrap{display:flex;align-items:center;gap:8px}.range-wrap input{width:100%;accent-color:var(--blue);min-width:40px}.range-wrap output{white-space:nowrap;font-size:10px;color:#6b7ca1;min-width:36px}.color-wrap{display:flex;gap:6px}.color-wrap input[type=color]{width:35px;height:28px;border:1px solid #d5e0f5;border-radius:5px;padding:3px;background:white}.color-wrap input[type=text]{width:100%;min-width:0;border:1px solid #d5e0f5;border-radius:5px;padding:5px 8px;color:#34466e;font-size:11px}.check-list{display:grid;gap:8px;margin:2px 0 17px;color:#354873;font-size:11px}.check-list input{width:15px;height:15px}.convert-button{width:100%;height:42px;background:linear-gradient(100deg,#159e7b,#0e9977);color:#fff;border:0;border-radius:7px;font-weight:700;font-size:13px;transition:.15s}.convert-button:disabled{opacity:.55;cursor:wait}.privacy-note{text-align:center;color:#7b8baa;font-size:10px;margin:11px 0 0}.how-section{max-width:1250px;margin:46px auto 32px;text-align:center;padding:0 15px}.how-section h2{font-size:23px;letter-spacing:-.5px}.how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:23px}.how-grid article{padding:22px;background:#fff;border:1px solid var(--line);border-radius:10px}.how-grid article>b{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--soft);color:var(--blue);font-size:17px}.how-grid h3{font-size:15px}.how-grid p{color:var(--muted);font-size:12px;line-height:1.7}.feature-strip{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#fff;display:grid;grid-template-columns:repeat(4,1fr);padding:20px max(calc((100% - 1250px)/2),5%);gap:15px}.feature-strip div{padding:4px 20px;border-right:1px solid var(--line)}.feature-strip div:last-child{border:0}.feature-strip b{display:block;color:#20396e;font-size:13px}.feature-strip small{display:block;color:#6f80a4;font-size:11px;margin:8px 0 0 25px}footer{text-align:center;padding:22px;color:#8997b1;font-size:11px}
body.dark{--bg:#111827;--surface:#182235;--text:#e7edff;--muted:#a4b3d2;--line:#2d3b55;--soft:#233353;background:#101827;color:var(--text)}body.dark .topbar,body.dark .feature-strip,body.dark .how-grid article,body.dark .panel,body.dark .options-panel h2{background:var(--surface)}body.dark .drop-zone,body.dark .image-card,body.dark .layout-choice,body.dark .option-content select{background:#1c2940;color:var(--text);border-color:#3b4a67}body.dark .brand,body.dark nav a,body.dark .section-label,body.dark .setting-row,body.dark .radio-row,body.dark .check-list label,body.dark .feature-strip b{color:var(--text)}body.dark .color-wrap input[type=text]{background:#1c2940;color:var(--text)}
@media(max-width:1000px){.workspace{margin:0 18px;grid-template-columns:1fr}.options-panel{order:2}.hero{margin:25px 20px}.topbar{padding:0 22px}.steps{gap:8px}.step{font-size:12px}.step b{width:30px;height:30px}.feature-strip{padding:20px}.feature-strip div{padding:4px 8px}}
@media(max-width:650px){.topbar{height:auto;min-height:68px;flex-wrap:wrap;padding:12px 16px;gap:10px}.brand strong{font-size:18px}.brand-icon{width:36px;height:36px}nav{order:3;width:100%;justify-content:space-around;gap:10px}nav a{padding:8px 0;font-size:12px}.hero{gap:10px;margin:25px 16px;align-items:flex-start}.hero-art{width:78px;height:78px;transform:scale(.75);transform-origin:top left;margin-right:-16px}.hero h1{font-size:26px;letter-spacing:-.8px}.hero p{font-size:13px;line-height:1.5}.hero small{font-size:11px}.workspace{margin:0 10px}.upload-panel{padding:13px}.steps{gap:6px;padding-bottom:12px;margin-bottom:15px}.step{gap:5px;font-size:10px;white-space:normal}.step b{width:25px;height:25px;font-size:12px;flex-shrink:0}.steps i{min-width:4px}.drop-zone{min-height:240px;padding:14px}.drop-zone small{line-height:1.6}.image-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.image-card img{height:110px}.layout-options{gap:4px}.layout-choice{font-size:9px}.setting-row{grid-template-columns:.85fr 1.3fr}.feature-strip{grid-template-columns:repeat(2,1fr);gap:15px;padding:17px 12px}.feature-strip div:nth-child(2){border:0}.feature-strip small{margin-left:0;line-height:1.5}.how-grid{grid-template-columns:1fr}.how-section{margin-top:32px}.list-footer{flex-direction:column;gap:5px}}
