:root{--blue:#0b63ce;--blue2:#084b9c;--orange:#ff8a00;--ink:#10233d;--muted:#66758a;--line:#e4eaf1;--soft:#f5f8fc;--white:#fff;--green:#12884f;--shadow:0 16px 50px rgba(16,35,61,.09);--radius:20px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:var(--ink);background:#fff;padding-bottom:0}a{color:inherit;text-decoration:none}button,input,select{font:inherit}.container{width:min(1160px,calc(100% - 32px));margin:auto}.hidden{display:none!important}
.announcement{background:linear-gradient(90deg,var(--blue2),var(--blue));color:#fff;text-align:center;padding:8px 12px;font-size:14px;font-weight:700}.site-header{position:sticky;top:0;z-index:40;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);border-bottom:1px solid rgba(228,234,241,.85)}.nav-wrap{min-height:72px;display:flex;align-items:center;gap:26px}.brand{display:flex;align-items:center;gap:11px;min-width:250px}.brand-mark{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,var(--blue),var(--blue2));color:#fff;font-weight:900;font-size:15px;letter-spacing:.3px;box-shadow:0 8px 18px rgba(11,99,206,.2);border:3px solid #fff;outline:2px solid rgba(255,138,0,.6)}.brand-copy{display:flex;flex-direction:column;line-height:1.15}.brand-copy strong{font-size:17px}.brand-copy small{margin-top:4px;color:var(--muted);font-size:11px}.desktop-nav{display:flex;align-items:center;gap:22px;margin-left:auto}.desktop-nav a{font-weight:700;font-size:14px;color:#33465f}.desktop-nav a:hover{color:var(--blue)}.nav-actions{display:flex;align-items:center;gap:9px}.lang-select{height:42px;border:1px solid var(--line);background:#fff;border-radius:12px;padding:0 10px;color:var(--ink);font-weight:700}.btn{border:0;border-radius:12px;min-height:42px;padding:0 16px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:800;cursor:pointer;transition:.2s}.btn:hover{transform:translateY(-1px)}.btn-primary{background:var(--blue);color:#fff;box-shadow:0 10px 20px rgba(11,99,206,.18)}.btn-secondary{background:#eef5ff;color:var(--blue)}.btn-ghost{background:#fff;border:1px solid var(--line);color:var(--ink)}.btn-pro{background:linear-gradient(135deg,#ff9d1c,var(--orange));color:#fff;box-shadow:0 10px 20px rgba(255,138,0,.2)}.full{width:100%}
.hero{background:radial-gradient(circle at 85% 20%,rgba(255,138,0,.14),transparent 28%),radial-gradient(circle at 12% 10%,rgba(11,99,206,.13),transparent 30%),linear-gradient(#fff,#f8fbff);border-bottom:1px solid var(--line)}.hero-grid{min-height:560px;display:grid;grid-template-columns:1.2fr .8fr;align-items:center;gap:48px;padding:54px 0}.eyebrow{display:inline-block;color:var(--blue);font-size:12px;letter-spacing:.12em;font-weight:900;margin-bottom:10px}.hero h1{font-size:clamp(42px,6vw,70px);line-height:1.02;letter-spacing:-.045em;margin:0 0 18px;max-width:780px}.hero p{font-size:19px;line-height:1.65;color:var(--muted);max-width:700px;margin:0 0 24px}.search-box{max-width:720px;display:flex;align-items:center;gap:12px;background:#fff;border:2px solid rgba(11,99,206,.16);border-radius:16px;padding:0 16px;height:58px;box-shadow:var(--shadow)}.search-box input{width:100%;border:0;outline:0;font-size:16px;color:var(--ink)}.hero-buttons{display:flex;gap:12px;margin-top:18px}.trust-row{display:flex;flex-wrap:wrap;gap:18px;margin-top:20px;color:#53647b;font-weight:700;font-size:13px}.hero-panel{display:grid;gap:14px;padding:22px;border-radius:28px;background:rgba(255,255,255,.84);border:1px solid #e9eef5;box-shadow:0 24px 70px rgba(16,35,61,.12);transform:rotate(1deg)}.mini-card{display:flex;align-items:center;gap:14px;padding:18px;border-radius:17px;background:#fff;border:1px solid var(--line);box-shadow:0 8px 24px rgba(16,35,61,.05);text-decoration:none;color:inherit;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}.mini-card:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(16,35,61,.10);border-color:#cfdbea}.mini-card:focus-visible{outline:3px solid rgba(11,99,206,.25);outline-offset:2px}.mini-card>span{font-size:30px}.mini-card div{display:flex;flex-direction:column;gap:5px}.mini-card small{font-size:10px;font-weight:900;color:var(--green)}.mini-card.pro small{color:var(--orange)}.mini-card.hot{border-color:#ffd8ab}
.section{padding:76px 0}.soft-section{background:var(--soft)}.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:25px;margin-bottom:28px}.section-head h2{font-size:clamp(28px,4vw,42px);letter-spacing:-.035em;margin:0}.section-head.centered{text-align:center;justify-content:center}.section-head.centered p{color:var(--muted);max-width:700px;margin:12px auto 0;line-height:1.6}.filter-row{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.chip{border:1px solid var(--line);background:#fff;border-radius:999px;padding:9px 14px;color:#42536a;font-weight:800;cursor:pointer}.chip.active,.chip:hover{background:var(--blue);border-color:var(--blue);color:#fff}.tools-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.tool-card{position:relative;border:1px solid var(--line);background:#fff;border-radius:18px;padding:20px;min-height:175px;display:flex;flex-direction:column;gap:10px;cursor:pointer;transition:.18s;overflow:hidden}.tool-card:hover{transform:translateY(-3px);border-color:#c9dbf2;box-shadow:0 14px 34px rgba(16,35,61,.08)}.tool-card .icon{width:48px;height:48px;border-radius:14px;background:#eef5ff;display:grid;place-items:center;font-size:25px}.tool-card h3{margin:2px 0 0;font-size:17px}.tool-card p{margin:0;color:var(--muted);font-size:13px;line-height:1.5}.tool-card .meta{margin-top:auto;display:flex;justify-content:space-between;align-items:center}.badge{font-size:10px;font-weight:900;border-radius:999px;padding:5px 8px;background:#edf8f2;color:var(--green)}.badge.pro{background:#fff3e2;color:#b85f00}.badge.new{background:#edf3ff;color:var(--blue)}.badge.hot{background:#fff0ee;color:#c33a2a}.arrow{color:var(--blue);font-weight:900}.empty-state{text-align:center;padding:50px;color:var(--muted)}
.feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.feature-grid article{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px}.feature-grid article>span{font-size:28px}.feature-grid h3{margin:14px 0 8px}.feature-grid p{margin:0;color:var(--muted);line-height:1.6;font-size:14px}.gov-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.gov-grid a{border:1px solid var(--line);border-radius:16px;padding:18px;background:#fff;display:grid;grid-template-columns:42px 1fr;grid-template-rows:auto auto;column-gap:12px;align-items:center;transition:.18s}.gov-grid a:hover{border-color:#c9dbf2;box-shadow:0 10px 24px rgba(16,35,61,.07)}.gov-grid a>span{grid-row:1/3;font-size:26px}.gov-grid strong{font-size:14px}.gov-grid small{color:var(--green);font-weight:900;font-size:10px}.gov-note{font-size:12px;color:var(--muted);margin-top:16px}.pricing-section{background:linear-gradient(180deg,#f8fbff,#fff)}.pricing-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.price-card{position:relative;background:#fff;border:1px solid var(--line);border-radius:20px;padding:24px;box-shadow:0 10px 28px rgba(16,35,61,.05)}.price-card.best{border:2px solid var(--orange);transform:translateY(-7px)}.best-badge{position:absolute;top:-13px;right:18px;background:var(--orange);color:#fff;padding:6px 10px;border-radius:999px;font-size:10px;font-weight:900}.price-card h3{margin:0 0 10px}.price{font-size:42px;font-weight:900;letter-spacing:-.04em}.price-card p{color:var(--muted);min-height:42px}.footer{background:#0e1b2d;color:#d5deea;padding:46px 0 90px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:30px}.footer-brand .brand-copy strong{color:#fff}.footer-brand .brand-copy small{color:#aab6c6}.footer p{color:#9eacbd}.footer-grid>div:not(:first-child){display:flex;flex-direction:column;gap:10px}.footer a{color:#b9c6d6;font-size:14px}.copyright{border-top:1px solid rgba(255,255,255,.1);margin-top:30px;padding-top:18px;color:#8292a6;font-size:13px}
.modal{position:fixed;inset:0;background:rgba(4,13,26,.62);backdrop-filter:blur(5px);z-index:100;display:grid;place-items:center;padding:18px}.modal-card{position:relative;background:#fff;border-radius:22px;box-shadow:0 30px 100px rgba(0,0,0,.28);max-height:90vh;overflow:auto}.tool-modal-card{width:min(800px,100%);padding:28px}.auth-card{width:min(430px,100%);padding:30px}.modal-close{position:absolute;right:16px;top:14px;border:0;background:#eef2f6;border-radius:50%;width:34px;height:34px;font-size:24px;cursor:pointer;line-height:1}.auth-logo{display:flex;justify-content:center;margin:8px 0 16px}.auth-card h2{text-align:center;margin:0 0 22px}.google-btn{background:#fff;border:1px solid var(--line)}.google-btn span:first-child{font-size:18px;font-weight:900;color:#4285f4}.divider{display:flex;align-items:center;gap:10px;color:#94a0b0;font-size:12px;margin:18px 0}.divider:before,.divider:after{content:"";height:1px;background:var(--line);flex:1}.auth-card form{display:grid;gap:10px}.auth-card input,.tool-control input,.tool-control select,.tool-control textarea{width:100%;min-height:46px;border:1px solid var(--line);border-radius:12px;padding:10px 12px;outline:0;background:#fff;color:var(--ink)}.auth-card input:focus,.tool-control input:focus,.tool-control select:focus,.tool-control textarea:focus{border-color:#9ec5f4;box-shadow:0 0 0 3px rgba(11,99,206,.08)}.auth-links{display:flex;justify-content:space-between;margin-top:12px}.link-btn{border:0;background:transparent;color:var(--blue);font-size:13px;font-weight:800;cursor:pointer}.status-text{font-size:13px;color:var(--muted);min-height:18px}.toast{position:fixed;right:20px;bottom:90px;z-index:150;background:#10233d;color:#fff;padding:13px 16px;border-radius:12px;box-shadow:0 15px 35px rgba(0,0,0,.2);max-width:340px;font-weight:700;font-size:13px}.mobile-nav{display:none}
.tool-head{display:flex;align-items:flex-start;gap:14px;padding-right:34px}.tool-head .big-icon{width:54px;height:54px;border-radius:15px;background:#eef5ff;display:grid;place-items:center;font-size:28px}.tool-head h2{margin:0 0 4px}.tool-head p{margin:0;color:var(--muted);font-size:14px}.privacy-pill{display:inline-flex;gap:6px;align-items:center;margin:14px 0;padding:7px 10px;border-radius:999px;background:#edf8f2;color:#17693f;font-size:11px;font-weight:800}.tool-body{margin-top:12px}.tool-control{display:grid;gap:8px;margin:12px 0}.tool-control label{font-size:13px;font-weight:800}.dropzone{border:2px dashed #bfd2ea;border-radius:16px;padding:28px 18px;text-align:center;background:#f8fbff;cursor:pointer}.dropzone:hover{border-color:var(--blue)}.dropzone input{display:none}.dropzone strong{display:block;margin-bottom:5px}.dropzone small{color:var(--muted)}.tool-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.tool-output{margin-top:18px;border-top:1px solid var(--line);padding-top:16px}.preview-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.preview-grid img{width:100%;aspect-ratio:1.4/1;object-fit:contain;border:1px solid var(--line);border-radius:10px;background:#f7f8fa}.progress{height:8px;border-radius:99px;background:#edf1f5;overflow:hidden;margin:12px 0}.progress>span{display:block;height:100%;width:0;background:var(--blue);transition:.2s}.note{font-size:12px;color:var(--muted);line-height:1.55}.pro-lock{text-align:center;padding:28px 10px}.pro-lock .crown{font-size:48px}.pro-lock h3{font-size:24px;margin:10px 0}.pro-lock p{color:var(--muted);max-width:520px;margin:0 auto 16px}.settings-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.canvas-wrap{overflow:auto;background:#f4f6f9;border:1px solid var(--line);border-radius:14px;padding:12px;text-align:center}.canvas-wrap canvas{max-width:100%;height:auto;background:#fff;box-shadow:0 6px 18px rgba(0,0,0,.08)}
@media(max-width:980px){.desktop-nav{display:none}.brand{min-width:auto}.brand-copy small{display:none}.hero-grid{grid-template-columns:1fr}.hero-panel{display:none}.tools-grid{grid-template-columns:repeat(3,1fr)}.gov-grid,.feature-grid,.pricing-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:720px){body{padding-bottom:66px}.announcement{font-size:12px}.site-header{top:0}.nav-wrap{min-height:64px;gap:8px}.brand-mark{width:40px;height:40px;font-size:13px}.brand-copy strong{font-size:14px}.nav-actions{margin-left:auto}.nav-actions .btn-pro{display:none}.nav-actions #loginBtn{display:none}.lang-select{height:38px;font-size:12px}.hero-grid{min-height:auto;padding:46px 0}.hero h1{font-size:42px}.hero p{font-size:16px}.hero-buttons{display:grid;grid-template-columns:1fr 1fr}.trust-row{gap:10px;font-size:11px}.section{padding:54px 0}.section-head{align-items:flex-start;flex-direction:column}.filter-row{justify-content:flex-start;overflow:auto;width:100%;flex-wrap:nowrap;padding-bottom:2px}.chip{white-space:nowrap}.tools-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tool-card{padding:14px;min-height:160px}.tool-card h3{font-size:15px}.tool-card p{font-size:12px}.feature-grid,.gov-grid,.pricing-grid{grid-template-columns:1fr}.price-card.best{transform:none}.footer-grid{grid-template-columns:1fr}.footer{padding-bottom:100px}.mobile-nav{position:fixed;display:grid;grid-template-columns:repeat(5,1fr);left:0;right:0;bottom:0;z-index:70;background:#fff;border-top:1px solid var(--line);box-shadow:0 -8px 30px rgba(16,35,61,.08);height:66px}.mobile-nav a,.mobile-nav button{border:0;background:transparent;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;font-size:20px;color:#3a4d66}.mobile-nav small{font-size:9px;font-weight:800}.tool-modal-card{padding:20px 16px}.settings-grid{grid-template-columns:1fr}.preview-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:390px){.brand-copy{display:none}.tools-grid{grid-template-columns:1fr 1fr}.tool-card{min-height:150px}.hero h1{font-size:36px}.hero-buttons{grid-template-columns:1fr}}

/* V1.2 result preview */
.result-preview{display:grid;gap:14px;margin-top:10px}.result-preview .canvas-wrap{display:grid;place-items:center;padding:12px;border:1px solid #e4eaf1;border-radius:14px;background:#f8fbff;max-height:360px;overflow:auto}.result-preview .canvas-wrap canvas{box-shadow:0 6px 24px rgba(30,64,175,.10)}.result-stats{display:flex;gap:10px;flex-wrap:wrap;color:#52637a;font-size:13px}.result-stats span{background:#f5f8fc;border:1px solid #e7ecf3;border-radius:999px;padding:7px 10px}
.image-result-preview{display:block;max-width:100%;max-height:340px;width:auto;height:auto;margin:auto;border-radius:12px;background:#fff;box-shadow:0 6px 22px rgba(30,64,175,.10)}
.pdf-file-icon{font-size:64px;padding:34px 0;color:#476987}
.preview-item{display:grid;gap:8px;border:1px solid var(--line);border-radius:12px;padding:8px;background:#fff;align-content:start}
.preview-item img{width:100%;aspect-ratio:1.2/1;object-fit:contain;border-radius:8px;background:#f7f9fc}
.preview-item small{color:var(--muted);font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.preview-item .btn{width:100%;padding:9px 10px;font-size:11px}
