:root{--ink:#142442;--text:#2c3e55;--muted:#718099;--blue:#136ff0;--blue-dark:#0c59c5;--ice:#f4f8ff;--line:#e3eaf5;--white:#fff;--green:#087c62;--shadow:0 18px 50px rgba(20,51,108,.075)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font-family:Tahoma,"Segoe UI",Arial,sans-serif;font-size:15px;direction:rtl}button,input,select{font:inherit}button{cursor:pointer}a{text-decoration:none;color:inherit}img{max-width:100%}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,.dropzone:focus-visible{outline:3px solid #ffb74f;outline-offset:3px}header{height:80px;background:#fff;position:sticky;top:0;z-index:20;border-bottom:1px solid #eaf0f8}.container{width:min(1150px,calc(100% - 40px));margin:auto}.head-inner{height:100%;display:flex;align-items:center;gap:36px}.brand{display:inline-flex;align-items:center;gap:11px;flex-shrink:0}.brand-mark{width:42px;height:42px;border-radius:13px;background:linear-gradient(145deg,#1478ff,#1055d1);display:grid;place-items:center;box-shadow:0 9px 23px #136ff038;color:white;font-size:24px;font-weight:800}.brand b{font-size:22px;letter-spacing:-1px}.brand b span{color:var(--blue)}.brand small{font-size:10px;display:block;color:var(--muted);font-weight:500;margin-top:-1px;letter-spacing:0}.nav{display:flex;align-items:center;gap:28px;margin-inline-start:auto}.nav a{font-weight:700;font-size:13px;color:#46546b;transition:color .2s}.nav a:hover,.nav a.active{color:var(--blue)}.nav-cta{border:1px solid #cbdaf4;color:var(--blue);border-radius:11px;padding:11px 18px;font-size:13px;font-weight:700;white-space:nowrap}.menu-button{display:none;background:transparent;border:0;font-size:24px}.hero{position:relative;overflow:hidden;background:radial-gradient(ellipse at 88% 10%,#dcecff 0,transparent 34%),linear-gradient(160deg,#f8fbff 0%,#eef5ff 100%);border-bottom:1px solid var(--line)}.hero .container{padding:79px 0 69px;text-align:center;position:relative}.eyebrow{display:inline-flex;align-items:center;gap:8px;border:1px solid #d4e4fb;border-radius:20px;padding:8px 13px;background:white;color:#2771d5;font-size:12px;font-weight:700;margin-bottom:21px}.eyebrow .dot{height:7px;width:7px;background:#27b69e;border-radius:50%}h1,h2,h3,p{margin-top:0}.hero h1{font-size:clamp(29px,4.4vw,49px);line-height:1.5;letter-spacing:-1.7px;margin-bottom:13px;font-weight:800}.hero h1 em{font-style:normal;color:var(--blue)}.hero p{color:#61718d;font-size:17px;line-height:2;max-width:740px;margin:0 auto 26px}.hero-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:0;border-radius:12px;padding:14px 23px;font-weight:800;font-size:14px;transition:transform .18s,background .18s}.btn:hover{transform:translateY(-1px)}.btn-primary{color:white;background:var(--blue);box-shadow:0 10px 20px #136ff02b}.btn-primary:hover{background:var(--blue-dark)}.btn-light{color:var(--blue);background:#fff;border:1px solid #cbdcf9}.btn:disabled{opacity:.5;cursor:not-allowed;transform:none}.privacy-strip{display:flex;gap:25px;align-items:center;justify-content:center;flex-wrap:wrap;margin-top:30px;color:#6a7990;font-size:12px}.privacy-strip span{display:flex;align-items:center;gap:6px}.check{color:#10a886;font-weight:900}.section{padding:70px 0}.section-heading{text-align:center;margin-bottom:31px}.section-heading h2{font-size:30px;letter-spacing:-.5px;margin-bottom:10px}.section-heading p{font-size:14px;line-height:1.8;color:var(--muted);margin:0}.tools-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}.tool-card{border:1px solid var(--line);border-radius:18px;min-height:198px;padding:24px 21px;background:#fff;box-shadow:0 5px 22px rgba(30,50,80,.025);transition:transform .18s,border .18s,box-shadow .18s;display:flex;flex-direction:column;align-items:flex-start}.tool-card:hover{border-color:#a9cdfa;transform:translateY(-4px);box-shadow:var(--shadow)}.tool-icon{font-size:25px;color:#146cdb;width:52px;height:52px;border-radius:14px;background:#edf4ff;display:grid;place-items:center;margin-bottom:19px;font-weight:800}.tool-card:nth-child(4n+2) .tool-icon{color:#0b987c;background:#e7f8f3}.tool-card:nth-child(4n+3) .tool-icon{color:#8a58be;background:#f4eefa}.tool-card:nth-child(4n) .tool-icon{color:#c77b0f;background:#fff5e3}.tool-card h3{font-size:17px;margin-bottom:9px}.tool-card p{font-size:12px;color:#77869b;line-height:1.9;margin-bottom:15px}.tool-link{color:var(--blue);font-size:12px;font-weight:800;margin-top:auto}.value-band{padding:46px 0;background:#f8faff;border-top:1px solid #eaf0f8}.value-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:35px}.value-item{display:flex;gap:15px;align-items:flex-start}.value-icon{border:1px solid #d6e5fc;border-radius:12px;width:45px;height:45px;flex:none;display:grid;place-items:center;background:white;color:#2069d2;font-size:19px}.value-item h3{margin:2px 0 9px;font-size:15px}.value-item p{font-size:12px;line-height:1.85;color:var(--muted);margin:0}footer{background:#14213b;color:#d4ddf0;padding:42px 0 22px}.footer-grid{display:flex;justify-content:space-between;align-items:flex-start;gap:30px;padding-bottom:35px}.footer-grid .brand b{color:white}.footer-grid .brand small{color:#a1b1cd}.footer-grid p{max-width:380px;font-size:12px;line-height:2;color:#9eacc4;margin:16px 0 0}.footer-links{display:flex;gap:25px;flex-wrap:wrap;font-size:13px}.footer-links a:hover{color:white}.footer-bottom{border-top:1px solid #34415a;padding-top:22px;color:#8e9db7;font-size:11px;display:flex;justify-content:space-between;gap:14px}.tool-hero{text-align:center;background:linear-gradient(180deg,#f4f8ff,white);padding:51px 0 32px}.tool-hero .eyebrow{margin-bottom:12px}.tool-hero h1{font-size:clamp(25px,4vw,38px);margin-bottom:11px}.tool-hero p{max-width:680px;margin:0 auto;color:var(--muted);line-height:2}.workspace-wrap{padding:26px 0 75px}.dropzone{border:2px dashed #a8c9f7;min-height:285px;border-radius:22px;background:#f8fbff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;padding:34px;text-align:center;transition:background .2s,border .2s;cursor:pointer}.dropzone.dragover{background:#e6f1ff;border-color:var(--blue)}.drop-icon{width:65px;height:65px;background:#e5f0ff;border-radius:18px;display:grid;place-items:center;font-size:30px;color:var(--blue)}.dropzone h2{font-size:22px;margin:2px 0 0}.dropzone p{color:#72839c;font-size:13px;margin:0}.dropzone small{font-size:11px;color:#8a98af}.dropzone input{position:absolute;left:-99999px;width:1px;height:1px}.editor,.results-panel{margin-top:24px;background:white;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow);overflow:hidden}.editor-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(290px,.9fr)}.preview-panel{padding:25px;border-left:1px solid var(--line);min-width:0}.preview-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:19px}.preview-heading h2{font-size:17px;margin:0}.preview-heading span{font-size:12px;color:var(--muted)}.preview-stage{height:350px;background:#f1f5fb;border:1px solid #e6eaf1;border-radius:15px;display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative;background-image:linear-gradient(45deg,#e5eaf4 25%,transparent 25%),linear-gradient(-45deg,#e5eaf4 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e5eaf4 75%),linear-gradient(-45deg,transparent 75%,#e5eaf4 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0px}.preview-frame{position:relative;display:inline-block;max-width:95%;max-height:95%;line-height:0;user-select:none}.preview-frame img{max-width:100%;max-height:324px;object-fit:contain;display:block;pointer-events:none}.crop-rect{position:absolute;border:2px solid #fff;outline:1px solid #136ff0;box-shadow:0 0 0 999px #142a4863;cursor:move;touch-action:none;display:none}.crop-rect::before,.crop-rect::after{content:'';position:absolute;width:12px;height:12px;border-radius:50%;background:white;border:2px solid #136ff0}.crop-rect::before{right:-7px;top:-7px}.crop-rect::after{left:-7px;bottom:-7px}.preview-note{font-size:11px;color:#77869b;line-height:1.8;margin:11px 0 0}.file-list{display:flex;gap:8px;overflow-x:auto;padding-top:17px;padding-bottom:6px}.file-pill{min-width:120px;max-width:150px;flex:none;background:#f8faff;border:1px solid #e5eaf4;border-radius:10px;padding:9px 8px;display:flex;align-items:center;gap:8px;cursor:pointer}.file-pill.active{border-color:var(--blue);background:#edf5ff}.file-pill img{height:34px;width:34px;object-fit:cover;border-radius:5px}.file-pill .filename{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;max-width:68px}.file-pill small{display:block;color:var(--muted);font-size:9px;margin-top:4px}.file-pill button{margin-inline-start:auto;border:0;background:transparent;color:#9ba8ba;font-size:17px;padding:2px}.controls-panel{padding:25px 22px;min-width:0}.controls-panel h2{font-size:17px;margin-bottom:7px}.controls-panel .sub{font-size:11px;color:var(--muted);line-height:1.7;margin-bottom:24px}.field{margin-bottom:19px}.field label{font-size:12px;font-weight:800;display:flex;justify-content:space-between;gap:7px;margin-bottom:9px}.field label output{color:var(--blue)}.field input[type=number],.field input[type=text],.field select,.field input[type=color]{background:#fff;width:100%;border:1px solid #dbe3ef;border-radius:9px;min-height:43px;padding:8px 12px;color:#263a55;max-width:100%}.field input[type=color]{padding:4px;cursor:pointer}.field input[type=range]{width:100%;accent-color:var(--blue)}.field small{display:block;margin-top:8px;color:var(--muted);font-size:10px;line-height:1.8}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.checkbox-row{display:flex;align-items:center;gap:9px;font-size:12px;color:#43556e;cursor:pointer;margin-bottom:12px}.checkbox-row input{accent-color:var(--blue)}.process{width:100%;margin-top:15px}.alert{font-size:11px;line-height:1.9;border-radius:10px;background:#fff8ea;color:#94600d;padding:12px 14px}.alert-error{background:#ffeff0;color:#a93144}.hidden{display:none!important}.results-panel{padding:26px}.results-title{font-size:19px;margin-bottom:7px}.results-note{font-size:12px;color:var(--muted);margin-bottom:23px}.result-card{border:1px solid var(--line);border-radius:13px;padding:14px;margin-bottom:10px;display:flex;gap:13px;align-items:center}.result-card img{width:58px;height:58px;border-radius:8px;object-fit:cover;background:#e9eff7}.result-card .result-info{min-width:0;flex:1}.result-card b{font-size:13px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.result-card small{font-size:11px;color:var(--muted);display:block;margin-top:7px}.result-card a{border-radius:9px;border:1px solid #d2e4fc;color:var(--blue);font-weight:800;font-size:12px;padding:10px 15px;white-space:nowrap}.results-actions{display:flex;gap:10px;margin-top:18px;flex-wrap:wrap}.bottom-note{max-width:800px;margin:22px auto 0;text-align:center;color:#8a98ad;font-size:11px;line-height:1.9}.content-page{padding:65px 0 80px;max-width:800px}.content-page h1{font-size:34px}.content-page h2{font-size:20px;margin-top:33px}.content-page p,.content-page li{font-size:14px;color:#4b5c74;line-height:2.2}.content-page ul{padding-right:24px}.status{margin:15px 0;color:var(--blue);font-size:13px;font-weight:700;line-height:1.9}.source-badge{background:#e9f8f3;color:var(--green);border-radius:10px;font-size:11px;padding:5px 10px;font-weight:700}@media(max-width:950px){.tools-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-layout{grid-template-columns:1fr}.preview-panel{border-left:0;border-bottom:1px solid var(--line)}.value-grid{gap:20px}}@media(max-width:660px){.container{width:min(100% - 28px,1150px)}header{height:67px}.head-inner{gap:8px}.brand b{font-size:19px}.brand-mark{width:36px;height:36px;font-size:19px}.menu-button{display:block;margin-inline-start:auto}.nav{display:none;position:absolute;top:67px;left:0;right:0;background:#fff;border-bottom:1px solid var(--line);padding:18px 20px;flex-direction:column;align-items:stretch;gap:19px;box-shadow:var(--shadow)}.nav.open{display:flex}.nav-cta{display:none}.hero .container{padding:58px 0 49px}.hero h1{letter-spacing:-.5px}.hero p{font-size:14px}.privacy-strip{gap:10px 18px}.section{padding:49px 0}.section-heading h2{font-size:24px}.tools-grid{gap:11px}.tool-card{padding:16px 13px;min-height:190px}.tool-card h3{font-size:14px}.tool-card p{font-size:11px}.tool-icon{width:42px;height:42px;font-size:22px;margin-bottom:13px}.value-grid{grid-template-columns:1fr}.footer-grid{flex-direction:column}.footer-bottom{flex-direction:column}.preview-stage{height:290px}.preview-frame img{max-height:270px}.preview-panel,.controls-panel{padding:17px}.result-card{flex-wrap:wrap}.result-card .result-info{min-width:150px}.tool-hero{padding:35px 0 19px}.workspace-wrap{padding:15px 0 40px}.dropzone{min-height:254px}.results-panel{padding:17px}}

/* v1.1 interactive cropping and social-platform sizes */
.crop-rect::before,.crop-rect::after{display:none}
.crop-rect{box-sizing:border-box;touch-action:none;user-select:none;cursor:grab;z-index:2}
.crop-rect:active{cursor:grabbing}
.crop-handle{width:18px;height:18px;border:2px solid #126ff0;border-radius:50%;background:#fff;position:absolute;z-index:3;box-shadow:0 1px 5px #0003;touch-action:none}
.handle-nw{top:-10px;left:-10px;cursor:nwse-resize}.handle-n{top:-10px;left:calc(50% - 9px);cursor:ns-resize}.handle-ne{top:-10px;right:-10px;cursor:nesw-resize}.handle-e{top:calc(50% - 9px);right:-10px;cursor:ew-resize}.handle-se{right:-10px;bottom:-10px;cursor:nwse-resize}.handle-s{left:calc(50% - 9px);bottom:-10px;cursor:ns-resize}.handle-sw{left:-10px;bottom:-10px;cursor:nesw-resize}.handle-w{left:-10px;top:calc(50% - 9px);cursor:ew-resize}
.preview-frame.fit-mode{overflow:hidden;max-width:none;max-height:none;border:2px solid #136ff0;border-radius:5px;touch-action:none;cursor:grab;flex:none;line-height:0;box-shadow:0 8px 22px #0b234a18}
.preview-frame.fit-mode:active{cursor:grabbing}
.preview-frame.fit-mode img{position:absolute;display:block;max-width:none;max-height:none;pointer-events:none;user-select:none;object-fit:fill}
.preset-size{margin:10px 0 0;color:#136ff0;font-weight:800;font-size:12px;line-height:1.8}
#fitReset{margin-top:3px;padding:10px 13px;font-size:12px}
@media(max-width:660px){.crop-handle{width:20px;height:20px}.handle-nw{top:-11px;left:-11px}.handle-ne{top:-11px;right:-11px}.handle-sw{bottom:-11px;left:-11px}.handle-se{bottom:-11px;right:-11px}}

/* Circular avatar preview guide only: never exported into the image */
.preview-frame.fit-mode.profile-guide::after{content:"";position:absolute;inset:3%;border-radius:50%;border:2px dashed #136ff0b0;pointer-events:none;z-index:2;box-shadow:0 0 0 999px #142a4828}
