@font-face{font-family:"Font Awesome 7 Free";font-style:normal;font-weight:900;font-display:swap;src:url(/assets/fa-solid-900-IAB4Droh.woff2) format("woff2")}.fa-solid{display:inline-block;font-family:"Font Awesome 7 Free";font-style:normal;font-weight:900;line-height:1;text-rendering:auto}.fa-bars:before{content:""}.fa-xmark:before{content:""}.fa-compress:before{content:""}.fa-expand:before{content:""}.fa-crop-simple:before{content:""}.fa-file-image:before{content:""}.fa-file-export:before{content:""}.fa-scissors:before{content:""}.fa-cloud-arrow-up:before{content:""}*{margin:0;padding:0;box-sizing:border-box}body{font-family:system-ui,-apple-system,Segoe UI,sans-serif;background:#f8fafc;color:#0f172a;line-height:1.5;-webkit-font-smoothing:antialiased}[hidden]{display:none!important}.btn{padding:.6rem 1.25rem;border-radius:8px;font-family:inherit;font-size:.9rem;font-weight:500;border:1px solid transparent;cursor:pointer;transition:background .15s,border-color .15s}.btn-primary{background:#087f99;color:#fff}.btn-primary:hover{background:#075f73}.btn-secondary{background:#fff;color:#475569;border-color:#cbd5e1}.btn-secondary:hover{background:#f1f5f9}.btn-select{padding:.85rem 2.5rem;font-size:1rem;font-weight:600}.actions{display:flex;gap:.75rem}.nav{background:#fff;border-bottom:1px solid #e2e8f0;position:sticky;top:0;z-index:100}.nav-inner{position:relative;max-width:1100px;margin:0 auto;padding:.85rem 1.5rem;display:flex;align-items:center;justify-content:flex-start;gap:2.5rem}.logo{font-size:1.4rem;font-weight:700;letter-spacing:-.02em;color:#0f172a;text-decoration:none;flex-shrink:0}.logo span{color:#087f99}.nav-toggle{display:none;background:none;border:none;padding:.4rem .6rem;font-size:1.25rem;color:#475569;cursor:pointer;margin-left:auto;border-radius:8px;transition:background .15s,color .15s}.nav-toggle:hover{background:#f1f5f9;color:#087f99}.nav-links{display:flex;gap:1.25rem;list-style:none}.nav-links a{text-decoration:none;color:#475569;font-size:.88rem;font-weight:500;white-space:nowrap;transition:color .15s}.nav-links a:hover,.nav-links a.active{color:#087f99}.hero{max-width:1100px;margin:3.5rem auto;padding:0 1.5rem;text-align:center}.hero h1{font-size:2.4rem;font-weight:700;letter-spacing:-.03em;line-height:1.2;margin-bottom:.75rem;color:#0f172a}.hero p{font-size:1.15rem;color:#64748b}.tools-section{max-width:1100px;margin:0 auto 4rem;padding:0 1.5rem}.tools-section h2{font-size:1.25rem;font-weight:600;margin-bottom:1.5rem;color:#0f172a}.card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.25rem}.tool-card{background:#fff;border:1px solid #e2e8f0;padding:1.5rem;text-decoration:none;color:inherit;transition:border-color .1s,box-shadow .1s,transform .1s;display:flex;flex-direction:column;gap:.6rem}.tool-card:hover{border-color:#087f99;box-shadow:0 4px 12px #ef444414;transform:scale(1.02)}.tool-card .icon{width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:1.2rem;flex-shrink:0}.icon-compress{color:#ef4444}.icon-resize{color:#2563eb}.icon-crop{color:#0891b2}.icon-tojpg{color:#d97706}.icon-fromjpg{color:#16a34a}.icon-bg{color:#db2777}.tool-card h3{font-size:1.05rem;font-weight:600;margin:0}.tool-card p{font-size:.88rem;color:#64748b;margin:0;line-height:1.45}.footer{background:#fff;border-top:1px solid #e2e8f0;padding:3rem 1.5rem 1.5rem}.footer-inner{max-width:1100px;margin:0 auto;display:flex;flex-wrap:wrap;justify-content:space-between;gap:2.5rem}.footer-brand{max-width:280px}.footer-brand .logo{display:inline-block;margin-bottom:.75rem}.footer-brand p{font-size:.9rem;color:#64748b;line-height:1.6}.footer-links{display:flex;gap:4rem;flex-wrap:wrap}.footer-col h4{font-size:.9rem;font-weight:600;margin-bottom:1rem;color:#0f172a;text-transform:uppercase;letter-spacing:.04em}.footer-col ul{list-style:none;display:flex;flex-direction:column;gap:.6rem}.footer-col a{text-decoration:none;color:#64748b;font-size:.9rem;transition:color .15s}.footer-col a:hover{color:#087f99}.footer-bottom{max-width:1100px;margin:2.5rem auto 0;padding-top:1.5rem;border-top:1px solid #e2e8f0;text-align:center}.footer-bottom p{font-size:.85rem;color:#94a3b8}.tool-page{max-width:1100px;margin:2.5rem auto 4rem;padding:0 1.5rem}.tool-header{text-align:center;margin-bottom:2rem}.tool-header h1{font-size:2rem;font-weight:700;letter-spacing:-.03em;margin-bottom:.5rem;color:#0f172a}.tool-header p{color:#64748b;font-size:1rem}.drop-zone{background:#fff;border:2px dashed #cbd5e1;border-radius:16px;padding:3rem 2rem;text-align:center;cursor:pointer;transition:border-color .2s,background .2s}.drop-zone:hover,.drop-zone.dragover{border-color:#49acc5;background:#e4f0f3}.drop-icon{font-size:2.5rem;color:#94a3b8;display:block;margin-bottom:1rem;transition:color .2s}.drop-zone:hover .drop-icon,.drop-zone.dragover .drop-icon{color:#49acc5}.drop-zone p{color:#64748b;font-size:.95rem;margin-bottom:1.25rem}.drop-zone strong{color:#49acc5;font-weight:600}.drop-note{font-size:.8rem;color:#94a3b8}.drop-zone input[type=file]{display:none}.tool-controls{margin-top:1.5rem;background:#fff;border-radius:12px;padding:1.25rem 1.5rem;display:flex;align-items:center;justify-content:space-between;gap:1.5rem;flex-wrap:wrap}.control-group{flex:1;min-width:220px}.control-group label{display:block;font-size:.9rem;font-weight:500;color:#0f172a;margin-bottom:.5rem}.control-group input[type=range]{width:100%;accent-color:#49acc5;border:none;outline:none}.control-group input[type=number]{width:100%;padding:.6rem .85rem;font-family:inherit;font-size:.9rem;color:#0f172a;background:#fff;border:1px solid #cbd5e1;border-radius:8px;outline:none;transition:border-color .15s}.control-group input[type=number]:focus{border-color:#49acc5}.select-input{width:100%;padding:.55rem .85rem;font-family:inherit;font-size:.9rem;color:#0f172a;background:#fff;border:1px solid #cbd5e1;border-radius:8px;cursor:pointer;outline:none}.select-input:focus{border-color:#49acc5}.file-list{display:none;flex-direction:column;gap:.75rem;margin-top:1.75rem}.file-list.show{display:flex}.file-row{display:flex;align-items:center;gap:1rem;background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:.85rem 1rem}.file-thumb{width:48px;height:48px;border-radius:8px;object-fit:cover;background:#f1f5f9;flex-shrink:0}.file-details{flex:1;min-width:0;display:flex;flex-direction:column}.file-name{font-size:.92rem;font-weight:500;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.file-sub{font-size:.8rem;color:#94a3b8}.file-actions{display:flex;gap:.5rem;align-items:center;flex-shrink:0}.file-actions .btn{padding:.45rem .9rem;font-size:.82rem}.badge{font-size:.78rem;color:#64748b;background:#f1f5f9;padding:.35rem .7rem;border-radius:6px}.resize-area{margin-top:1.5rem}.resize-preview{text-align:center;margin-bottom:1.5rem}.resize-preview img{display:block;max-width:100%;max-height:55vh;width:auto;height:auto;margin:0 auto;border-radius:12px;border:1px solid #e2e8f0;background:#fff}.resize-meta{margin-top:.6rem;font-size:.85rem;color:#64748b}.resize-controls{background:#fff;border-radius:12px;padding:1.5rem;display:flex;flex-direction:column;gap:1.25rem}.mode-toggle{display:inline-flex;background:#f1f5f9;border-radius:10px;padding:4px;gap:2px;align-self:center}.mode-btn{padding:.5rem 1.25rem;font-family:inherit;font-size:.88rem;font-weight:500;color:#475569;background:transparent;border:none;border-radius:7px;cursor:pointer;transition:background .15s,color .15s}.mode-btn:hover{color:#0f172a}.mode-btn.active{background:#fff;color:#49acc5;box-shadow:0 1px 2px #0f172a14}.dimension-row{display:flex;align-items:flex-end;gap:1rem}.dimension-field{flex:1;display:flex;flex-direction:column;gap:.4rem;min-width:0}.dimension-field label{font-size:.85rem;font-weight:500;color:#475569}.dimension-field input[type=number]{width:100%;padding:.65rem .85rem;font-family:inherit;font-size:.95rem;color:#0f172a;background:#fff;border:1px solid #cbd5e1;border-radius:8px;outline:none;transition:border-color .15s}.dimension-field input[type=number]:focus{border-color:#49acc5}.dimension-x{font-size:1.15rem;color:#94a3b8;padding-bottom:.55rem}.checkbox-row{display:flex;align-items:center;gap:.5rem;margin-top:1rem;font-size:.9rem;color:#475569;cursor:pointer;-webkit-user-select:none;user-select:none}.checkbox-row input[type=checkbox]{width:16px;height:16px;accent-color:#49acc5;cursor:pointer}.resize-actions{justify-content:center;margin-top:.5rem}.crop-area{margin-top:1.5rem;text-align:center}.crop-stage{position:relative;display:inline-block;line-height:0;-webkit-user-select:none;user-select:none;max-width:100%;overflow:hidden}.crop-stage img{display:block;max-width:100%;max-height:65vh;width:auto;height:auto;pointer-events:none}.crop-box{position:absolute;border:1px solid #ffffff;box-shadow:0 0 0 9999px #0f172a8c;cursor:move;box-sizing:border-box;touch-action:none}.crop-handle{position:absolute;width:14px;height:14px;background:#fff;border:2px solid #49acc5;border-radius:50%;box-sizing:border-box;touch-action:none}.crop-handle.nw{top:-7px;left:-7px;cursor:nwse-resize}.crop-handle.n{top:-7px;left:50%;margin-left:-7px;cursor:ns-resize}.crop-handle.ne{top:-7px;right:-7px;cursor:nesw-resize}.crop-handle.e{top:50%;right:-7px;margin-top:-7px;cursor:ew-resize}.crop-handle.se{bottom:-7px;right:-7px;cursor:nwse-resize}.crop-handle.s{bottom:-7px;left:50%;margin-left:-7px;cursor:ns-resize}.crop-handle.sw{bottom:-7px;left:-7px;cursor:nesw-resize}.crop-handle.w{top:50%;left:-7px;margin-top:-7px;cursor:ew-resize}.crop-info{margin-top:1rem;font-size:.9rem;color:#64748b}.crop-actions{margin-top:1.25rem;justify-content:center}.bg-removal-area{margin-top:1.5rem}.bg-preview{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem;margin-bottom:1.5rem}.bg-preview-pane{position:relative;background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:.75rem;display:flex;flex-direction:column;align-items:center}.bg-preview-label{font-size:.8rem;font-weight:500;color:#64748b;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.6rem;align-self:flex-start}.bg-preview-pane img{display:block;max-width:100%;max-height:45vh;width:auto;height:auto;border-radius:8px}.checkerboard{display:flex;align-items:center;justify-content:center;width:100%;min-height:120px;background-image:linear-gradient(45deg,#e2e8f0 25%,transparent 25%),linear-gradient(-45deg,#e2e8f0 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e2e8f0 75%),linear-gradient(-45deg,transparent 75%,#e2e8f0 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0;border-radius:8px}.progress-wrap{margin-bottom:1.5rem}.progress-bar{width:100%;height:6px;background:#e2e8f0;border-radius:999px;overflow:hidden}.progress-fill{height:100%;width:0%;background:#49acc5;border-radius:999px;transition:width .3s ease}.progress-text{margin-top:.6rem;font-size:.85rem;color:#64748b;text-align:center}.bg-actions{justify-content:center}.content-page{max-width:760px;margin:3rem auto 4rem;padding:0 1.5rem;color:#334155}.content-page h1{font-size:2rem;font-weight:700;letter-spacing:-.03em;color:#0f172a;margin-bottom:.5rem}.content-page .lead{font-size:1.05rem;color:#64748b;margin-bottom:2rem}.content-page h2{font-size:1.15rem;font-weight:600;color:#0f172a;margin-top:2rem;margin-bottom:.6rem}.content-page p{font-size:.95rem;line-height:1.7;margin-bottom:1rem}.content-page ul{margin:0 0 1.25rem 1.25rem;padding:0}.content-page li{font-size:.95rem;line-height:1.7;margin-bottom:.4rem}.content-page strong{color:#0f172a;font-weight:600}.cookie-banner{position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid #e2e8f0;padding:1rem 1.5rem;z-index:100;box-shadow:0 -4px 12px #0f172a0f}.cookie-banner-inner{max-width:1100px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:1.5rem;flex-wrap:wrap}.cookie-banner p{margin:0;font-size:.9rem;color:#475569;flex:1;min-width:240px}.cookie-banner a{color:#49acc5;text-decoration:none}.cookie-banner a:hover{text-decoration:underline}.cookie-banner-actions{display:flex;gap:.75rem;flex-shrink:0}@media(max-width:900px){.nav-inner{gap:1.25rem}.nav-links{gap:1rem}.nav-links a{font-size:.82rem}.hero{margin:3rem auto}.hero h1{font-size:2rem}.hero p{font-size:1.05rem}}@media(max-width:640px){.nav-inner{padding:.75rem 1rem;gap:0}.logo{font-size:1.3rem}.nav-toggle{display:inline-flex;align-items:center;justify-content:center}.nav-links{position:absolute;top:100%;left:0;right:0;background:#fff;border-bottom:1px solid #e2e8f0;flex-direction:column;gap:0;padding:0;max-height:0;overflow:hidden;transition:max-height .25s ease;box-shadow:0 4px 12px #0f172a0f}.nav-links.open{max-height:400px}.nav-links li{width:100%}.nav-links a{display:block;padding:.85rem 1.25rem;font-size:.95rem;border-bottom:1px solid #f1f5f9}.nav-links li:last-child a{border-bottom:none}.hero{margin:2rem auto}.hero h1{font-size:1.6rem}.hero p{font-size:.95rem}.card-grid{grid-template-columns:1fr}.tool-header h1{font-size:1.6rem}.tool-header p{font-size:.95rem}.drop-zone{padding:2rem 1.25rem}.btn-select{padding:.75rem 2rem;font-size:.95rem}.file-row{flex-wrap:wrap}.file-actions{width:100%;justify-content:flex-end}.tool-controls{flex-direction:column;align-items:stretch}.tool-controls .actions{width:100%}.tool-controls .actions .btn{flex:1;text-align:center}.resize-controls{padding:1.25rem 1rem}.dimension-row{flex-direction:column;align-items:stretch;gap:.75rem}.dimension-x{display:none}.resize-actions{flex-direction:column}.resize-actions .btn{width:100%;text-align:center}.bg-preview{grid-template-columns:1fr}.bg-actions{flex-direction:column}.bg-actions .btn{width:100%;text-align:center}.content-page{margin:2rem auto 3rem}.content-page h1{font-size:1.6rem}.cookie-banner{padding:1rem}.cookie-banner-inner{flex-direction:column;align-items:stretch}.cookie-banner-actions{width:100%}.cookie-banner-actions .btn{flex:1}.footer{padding:2.5rem 1.25rem 1.25rem}.footer-inner{flex-direction:column;gap:2rem}.footer-links{gap:2.5rem}}
