@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap");
:root{--bg:#08090d;--panel:#111319;--line:#292d37;--line-soft:#20232b;--ink:#f4f4f2;--muted:#989ca6;--accent:#d8ff3e;--red:#ff6b62;--shadow:0 28px 80px rgba(0,0,0,.4)}
*{box-sizing:border-box}html{min-height:100%;background:var(--bg)}body{min-height:100vh;margin:0;color:var(--ink);background:var(--bg);font-family:"DM Sans",sans-serif;overflow-x:hidden}button,textarea,input{font:inherit}button{color:inherit}.shell-width{width:min(1180px,calc(100% - 40px));margin-inline:auto}
.page-glow{position:fixed;z-index:0;border-radius:50%;filter:blur(130px);pointer-events:none;opacity:.13}.page-glow--one{width:520px;height:520px;top:-210px;right:-170px;background:var(--accent)}.page-glow--two{width:420px;height:420px;left:-240px;top:48%;background:#6973ff}
.nav{position:relative;z-index:2;height:86px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line-soft)}.brand{display:inline-flex;align-items:center;gap:11px;color:var(--ink);font-family:Manrope,sans-serif;font-size:18px;font-weight:800;text-decoration:none;letter-spacing:-.04em}.brand__mark{width:39px;height:39px;border:1px solid #454b32;border-radius:10px;display:grid;place-items:center;color:var(--accent);background:#181b13}.brand__mark svg{width:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.brand__accent{color:var(--accent)}.nav-actions{display:flex;align-items:center;gap:15px}.tools-link{color:#c6c8ce;font-size:12px;font-weight:700;text-decoration:none}.tools-link:hover{color:var(--accent)}.privacy-pill{display:flex;align-items:center;gap:7px;color:#aeb2ba;font-size:11px}.privacy-pill i{width:7px;height:7px;border-radius:50%;background:var(--accent);box-shadow:0 0 10px rgba(216,255,62,.45)}.language-switch{display:flex;padding:3px;border:1px solid var(--line);border-radius:8px;background:#0e1015}.language-switch button{min-width:34px;padding:6px;border:0;border-radius:5px;color:#7e828b;background:transparent;font-size:10px;font-weight:800;cursor:pointer}.language-switch button[aria-pressed=true]{color:#111;background:var(--accent)}
.app-shell{position:relative;z-index:1;max-width:980px;padding-top:74px}.hero{text-align:center}.eyebrow{margin:0 0 20px;color:var(--accent);font-size:10px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.eyebrow span{margin-right:8px;color:#5f646d}.hero h1{margin:0;font-family:Manrope,sans-serif;font-size:clamp(44px,6.6vw,72px);line-height:1.02;letter-spacing:-.055em}.hero h1 em{color:var(--accent);font-style:normal}.hero__lead{max-width:620px;margin:25px auto 24px;color:var(--muted);font-size:15px;line-height:1.7}.feature-strip{display:flex;justify-content:center;align-items:center;gap:15px;margin-bottom:43px;color:#c5c8cf;font-size:10px;letter-spacing:.1em;text-transform:uppercase}.feature-strip i{width:3px;height:3px;border-radius:50%;background:var(--accent)}
.workspace{position:relative;border:1px solid var(--line);border-radius:18px;background:linear-gradient(145deg,rgba(20,23,30,.98),rgba(12,14,18,.98));box-shadow:var(--shadow);overflow:hidden}.workspace-topline{height:48px;padding:0 18px;border-bottom:1px solid var(--line-soft);display:flex;align-items:center;justify-content:space-between;color:#747984;font-size:9px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.local-label{display:flex;align-items:center;gap:7px;color:#9da29a;letter-spacing:0;text-transform:none}.local-label svg{width:16px;fill:none;stroke:var(--accent);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.upload-view{padding:12px}.drop-zone{min-height:320px;padding:38px;border:1px dashed #3b414d;border-radius:12px;display:flex;align-items:center;gap:25px;cursor:pointer;transition:border-color .18s ease,background .18s ease}.drop-zone:hover,.drop-zone:focus-visible,.drop-zone.is-dragging{border-color:#798d2c;background:rgba(216,255,62,.025);outline:none}.drop-zone__icon{width:72px;height:72px;flex:0 0 auto;border:1px solid #3c4430;border-radius:17px;display:grid;place-items:center;color:var(--accent);background:#191d14}.drop-zone__icon svg{width:39px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.drop-zone__copy{flex:1}.drop-zone h2,.processing-view h2,.error-view h2{margin:0 0 7px;font-family:Manrope,sans-serif;font-size:19px;letter-spacing:-.03em}.drop-zone p{margin:0;color:var(--muted);font-size:13px}.drop-zone p span{color:#d7dae0}.drop-zone small{display:block;margin-top:12px;color:#60656f;font-size:9px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.button{border:0;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:11px;font-weight:800;cursor:pointer;transition:transform .15s ease,background .15s ease}.button:hover{transform:translateY(-1px)}.button:focus-visible,.icon-button:focus-visible{outline:3px solid rgba(216,255,62,.2);outline-offset:2px}.button svg{width:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.button--primary{min-width:150px;padding:13px 17px;color:#111;background:var(--accent)}.button--primary:hover{background:#e2ff70}
[hidden]{display:none!important}.processing-view,.error-view{min-height:344px;padding:45px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.loader{width:58px;height:58px;margin-bottom:21px;border:4px solid #2c3025;border-top-color:var(--accent);border-radius:50%;animation:spin .85s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.processing-view p,.error-view p{margin:0;color:var(--muted);font-size:12px}.progress{width:min(340px,80%);height:4px;margin-top:25px;border-radius:99px;background:#252932;overflow:hidden}.progress span{display:block;width:0;height:100%;background:var(--accent);transition:width .22s ease}
.result-view{padding:18px}.file-summary{min-height:66px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;display:flex;align-items:center;gap:12px;background:#0e1015}.file-summary__icon{width:42px;height:46px;border-radius:7px;display:grid;place-items:center;color:#fff;background:#b84b45;font-size:9px;font-weight:800}.file-summary__info{min-width:0;flex:1;display:flex;flex-direction:column;gap:4px}.file-summary__info strong{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.file-summary__info span{color:var(--muted);font-size:10px}.icon-button{width:36px;height:36px;border:0;border-radius:8px;display:grid;place-items:center;background:transparent;cursor:pointer}.icon-button:hover{background:#1d2027}.icon-button svg{width:18px;fill:none;stroke:#777c85;stroke-width:1.8;stroke-linecap:round}.result-header{margin:21px 3px 10px;display:flex;align-items:flex-end;justify-content:space-between}.result-header__label{margin:0 0 4px;color:var(--accent);font-size:9px;font-weight:800;letter-spacing:.13em;text-transform:uppercase}.result-header__stats{margin:0;color:var(--muted);font-size:10px}.button--ghost{padding:7px 10px;color:#aeb2ba;background:transparent}.button--ghost:hover{background:#1c1f26}#textOutput{width:100%;min-height:300px;padding:17px;border:1px solid var(--line);border-radius:10px;resize:vertical;color:#d9dce1;background:#0b0d11;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;line-height:1.65}#textOutput:focus{border-color:#667724;outline:3px solid rgba(216,255,62,.06)}.result-actions{padding:15px 2px 1px;display:flex;align-items:center;justify-content:space-between;gap:16px}.result-actions p{margin:0;color:var(--muted);font-size:10px}.result-actions p span{display:inline-grid;width:18px;height:18px;margin-right:5px;border-radius:50%;place-items:center;color:#111;background:var(--accent)}.result-actions p b{font-weight:500}.button--download{padding:12px 17px;color:#111;background:var(--accent)}.error-view__icon{width:56px;height:56px;margin-bottom:18px;border:1px solid #633b3b;border-radius:50%;display:grid;place-items:center;color:var(--red);background:#251617;font-family:Manrope,sans-serif;font-size:27px;font-weight:800}
.benefits{margin:28px 0 65px;display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft)}.benefits article{padding:25px 22px;display:flex;align-items:flex-start;gap:14px}.benefits article+article{border-left:1px solid var(--line-soft)}.benefits article>span{color:var(--accent);font-family:Manrope,sans-serif;font-size:10px;font-weight:800}.benefits h3{margin:0 0 4px;font-size:11px}.benefits p{margin:0;color:#777c86;font-size:10px;line-height:1.5}footer{position:relative;z-index:1;padding:25px 0;border-top:1px solid var(--line-soft);display:flex;justify-content:space-between;color:#686d76;font-size:9px}footer a{color:#9ba09f;text-decoration:none}footer small{font-size:inherit}.toast{position:fixed;z-index:10;left:50%;bottom:25px;padding:11px 17px;border:1px solid #343943;border-radius:8px;color:#111;background:var(--accent);box-shadow:0 10px 30px rgba(0,0,0,.35);font-size:11px;font-weight:800;opacity:0;pointer-events:none;transform:translate(-50%,12px);transition:opacity .18s ease,transform .18s ease}.toast.is-visible{opacity:1;transform:translate(-50%,0)}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:720px){.shell-width{width:min(100% - 24px,1180px)}.nav{height:72px}.privacy-pill{display:none}.tools-link{font-size:0}.tools-link::after{content:"Tools";font-size:11px}.app-shell{padding-top:48px}.hero h1{font-size:43px}.hero__lead{font-size:13px}.drop-zone{min-height:325px;padding:31px 20px;flex-direction:column;text-align:center}.drop-zone__copy{flex:0}.benefits{grid-template-columns:1fr}.benefits article+article{border-left:0;border-top:1px solid var(--line-soft)}.result-actions{align-items:stretch;flex-direction:column}.button--download{width:100%}footer{gap:10px;flex-wrap:wrap}footer p{order:3;width:100%}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
