
:root{--bg:#F7F7FF;--surface:#ffffff;--surface-2:#F1F1FE;--text:#111827;--muted:#6B7280;--border:#E5E7EB;--primary:#4F46E5;--primary-2:#7C3AED;--accent:#4338CA;--success:#16A34A;--success-bg:#DCFCE7;--amber:#D97706;--amber-bg:#FEF3C7;--red:#DC2626;--red-bg:#FEE2E2;--info-bg:#DBEAFE;--radius:16px;--shadow:0 4px 24px rgba(17,24,39,.07);--shadow-lg:0 12px 40px rgba(79,70,229,.14)}
html[data-theme="dark"]{--bg:#0F172A;--surface:#111827;--surface-2:#1E293B;--text:#F1F5F9;--muted:#94A3B8;--border:#334155;--shadow:0 4px 24px rgba(0,0,0,.35);--shadow-lg:0 12px 40px rgba(0,0,0,.5)}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;background:var(--bg);color:var(--text);line-height:1.6;font-size:16px;overflow-x:hidden}
img,svg{max-width:100%}
a{color:var(--primary);text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3{line-height:1.2;color:var(--text);margin:0 0 .5rem}
h1{font-size:clamp(2rem,5.5vw,3.4rem);font-weight:800;letter-spacing:-.02em}
h2{font-size:clamp(1.5rem,3.5vw,2rem);font-weight:800}
h3{font-size:1.15rem;font-weight:700}
p{margin:0 0 1rem}
.container{max-width:1180px;margin:0 auto;padding:0 20px}
.skip-link{position:absolute;left:-9999px;top:0;background:var(--primary);color:#fff;padding:10px 16px;z-index:200;border-radius:0 0 8px 0}
.skip-link:focus{left:0;color:#fff}
:focus-visible{outline:3px solid var(--primary-2);outline-offset:2px;border-radius:4px}
/* Header */
header.site{position:sticky;top:0;z-index:100;background:var(--surface);border-bottom:1px solid var(--border)}
header.site nav{display:flex;align-items:center;gap:18px;max-width:1180px;margin:0 auto;padding:12px 20px}
.logo{display:flex;align-items:center;gap:10px;font-size:1.35rem;font-weight:800;color:var(--text);flex-shrink:0}
.logo:hover{text-decoration:none}
.logo-mark{width:38px;height:38px;border-radius:10px;background:linear-gradient(135deg,#4F46E5,#7C3AED);display:inline-flex;align-items:center;justify-content:center;color:#fff;flex-shrink:0}
.logo b{color:var(--primary)}
.nav-links{display:flex;align-items:center;gap:4px;margin-left:8px;list-style:none;padding:0}
.nav-links>li{position:relative}
.nav-links a,.nav-links button.nav-link{color:var(--text);font-weight:600;font-size:.95rem;padding:8px 12px;border-radius:999px;border:0;background:none;cursor:pointer;font-family:inherit;display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.nav-links a:hover,.nav-links button.nav-link:hover{background:var(--surface-2);text-decoration:none;color:var(--primary)}
.nav-links a.active,.nav-links button.nav-link.active{background:#EDE9FE;color:var(--primary)}
html[data-theme="dark"] .nav-links a.active{background:#312E81}
.dropdown{position:absolute;top:calc(100% + 8px);left:0;min-width:280px;background:var(--surface);border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow-lg);padding:10px;display:none;z-index:120}
.dropdown.open{display:block}
.dropdown h4{font-size:.75rem;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:8px 10px 4px}
.dropdown a{display:flex;gap:10px;align-items:flex-start;padding:8px 10px;border-radius:10px;color:var(--text);font-weight:600;font-size:.92rem}
.dropdown a small{display:block;color:var(--muted);font-weight:400}
.dropdown a:hover{background:var(--surface-2);color:var(--primary);text-decoration:none}
.nav-spacer{flex:1}
.theme-toggle{width:56px;height:30px;border-radius:999px;border:1px solid var(--border);background:var(--surface-2);cursor:pointer;position:relative;flex-shrink:0}
.theme-toggle .knob{position:absolute;top:3px;left:4px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.25);display:flex;align-items:center;justify-content:center;font-size:12px;transition:left .2s}
html[data-theme="dark"] .theme-toggle .knob{left:28px;background:#1E293B}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:700;font-size:.95rem;padding:11px 20px;border-radius:999px;border:1px solid transparent;cursor:pointer;font-family:inherit;text-align:center;line-height:1.3}
.btn:hover{text-decoration:none}
.btn-primary{background:linear-gradient(135deg,#4F46E5,#7C3AED);color:#fff;box-shadow:0 6px 18px rgba(79,70,229,.3)}
.btn-primary:hover{filter:brightness(1.07)}
.btn-secondary{background:var(--surface);border-color:var(--border);color:var(--text)}
.btn-secondary:hover{border-color:var(--primary);color:var(--primary)}
.btn-ghost{background:transparent;color:var(--primary)}
.btn-home{padding:9px 18px}
.hamburger{display:none;background:none;border:1px solid var(--border);border-radius:10px;padding:8px 10px;cursor:pointer;color:var(--text)}
.mobile-menu{display:none;border-top:1px solid var(--border);padding:12px 20px 18px;background:var(--surface)}
.mobile-menu.open{display:block}
.mobile-menu a{display:block;padding:10px 4px;font-weight:600;color:var(--text);border-bottom:1px solid var(--border)}
.mobile-menu a:last-child{border-bottom:0}
/* Hero */
.hero{position:relative;overflow:hidden;text-align:center;padding:64px 20px 48px;background:radial-gradient(60% 60% at 50% 0%,#EDE9FE 0%,#F7F7FF 70%)}
html[data-theme="dark"] .hero{background:radial-gradient(60% 60% at 50% 0%,#1E1B4B 0%,#0F172A 70%)}
.hero .badge{display:inline-flex;align-items:center;gap:8px;background:#EDE9FE;color:#4F46E5;font-weight:700;font-size:.9rem;padding:8px 16px;border-radius:999px;margin-bottom:20px}
html[data-theme="dark"] .hero .badge{background:#312E81;color:#C7D2FE}
.hero h1 span{color:var(--primary);display:block}
.hero p.lead{max-width:640px;margin:14px auto 28px;color:#374151;font-size:1.08rem}
html[data-theme="dark"] .hero p.lead{color:#CBD5E1}
.float-icon{position:absolute;width:96px;height:96px;border-radius:26px;display:flex;align-items:center;justify-content:center;box-shadow:var(--shadow);animation:float 5s ease-in-out infinite;z-index:1}
.float-icon svg{width:52px;height:52px}
.fi-pdf{left:9%;top:18%;background:#FEE2E2;transform:rotate(-8deg)}
.fi-excel{right:8%;top:12%;background:#DCFCE7;transform:rotate(8deg);animation-delay:1s}
.fi-img{left:12%;top:56%;background:#DBEAFE;transform:rotate(6deg);animation-delay:.5s}
.fi-code{right:11%;top:52%;background:#FEF3C7;transform:rotate(-6deg);animation-delay:1.5s}
@keyframes float{0%,100%{translate:0 0}50%{translate:0 -12px}}
.hero-dots{position:absolute;inset:0;pointer-events:none;opacity:.55}
.sparkle{position:absolute;color:#7C3AED;font-size:18px;animation:twinkle 2.6s ease-in-out infinite}
@keyframes twinkle{0%,100%{opacity:.25;transform:scale(.8)}50%{opacity:1;transform:scale(1.15)}}
.search-bar{position:relative;max-width:640px;margin:0 auto;z-index:5}
.search-bar form{display:flex;align-items:center;gap:8px;background:var(--surface);border:1px solid var(--border);border-radius:999px;padding:6px 6px 6px 18px;box-shadow:var(--shadow)}
.search-bar input{flex:1;border:0;outline:0;background:none;font-size:1rem;color:var(--text);min-width:0;font-family:inherit}
.search-bar input::placeholder{color:var(--muted)}
.search-results{position:absolute;top:calc(100% + 8px);left:0;right:0;background:var(--surface);border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow-lg);text-align:left;overflow:hidden;display:none;max-height:380px;overflow-y:auto}
.search-results.open{display:block}
.search-results a{display:flex;gap:12px;align-items:center;padding:12px 16px;color:var(--text);font-weight:600}
.search-results a:hover,.search-results a:focus-visible{background:var(--surface-2);text-decoration:none}
.search-results a small{display:block;color:var(--muted);font-weight:400}
.search-empty{padding:16px;color:var(--muted)}
/* Sections */
section{padding:36px 0}
.section-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:20px;flex-wrap:wrap}
.section-head h2{border-bottom:3px solid var(--primary);padding-bottom:6px}
.section-head a{font-weight:700;white-space:nowrap}
.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}
.tool-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.tool-card{display:flex;gap:14px;align-items:flex-start;padding:18px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);color:var(--text);transition:transform .15s,box-shadow .15s,border-color .15s}
.tool-card:hover{transform:translateY(-3px);border-color:var(--primary);box-shadow:var(--shadow-lg);text-decoration:none}
.tool-card h3{margin:0 0 4px;font-size:1.02rem}
.tool-card p{margin:0;color:var(--muted);font-size:.9rem}
.tool-icon{width:56px;height:56px;border-radius:14px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.tool-icon svg{width:30px;height:30px}
.tool-arrow{margin-left:auto;flex-shrink:0;width:32px;height:32px;border:1px solid var(--border);border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--primary);align-self:center}
.pastel-purple{background:#EDE9FE;color:#6D28D9}.pastel-blue{background:#DBEAFE;color:#1D4ED8}.pastel-green{background:#DCFCE7;color:#15803D}.pastel-red{background:#FEE2E2;color:#B91C1C}.pastel-orange{background:#FFEDD5;color:#C2410C}.pastel-amber{background:#FEF3C7;color:#B45309}
.cat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.cat-card{display:flex;gap:14px;align-items:center;padding:20px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);color:var(--text);font-weight:700;font-size:1.05rem}
.cat-card:hover{border-color:var(--primary);text-decoration:none;transform:translateY(-2px)}
.cat-card small{display:block;color:var(--muted);font-weight:400;font-size:.85rem}
.trust-bar{display:flex;flex-wrap:wrap;gap:0;background:#EDE9FE;border-radius:18px;padding:26px 10px;margin-top:8px}
html[data-theme="dark"] .trust-bar{background:#1E1B4B}
.trust-item{flex:1;min-width:220px;display:flex;gap:14px;align-items:flex-start;padding:6px 22px}
.trust-item+.trust-item{border-left:1px solid #C7D2FE}
.trust-item h3{margin:0 0 2px}
.trust-item p{margin:0;color:var(--muted);font-size:.92rem}
.trust-icon{width:48px;height:48px;border-radius:50%;background:var(--primary);color:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.trust-icon svg{width:24px;height:24px}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.step{padding:24px}
.step-num{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#4F46E5,#7C3AED);color:#fff;font-weight:800;display:flex;align-items:center;justify-content:center;margin-bottom:12px}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.feature-list{list-style:none;padding:0;margin:0}
.feature-list li{padding:10px 0 10px 34px;position:relative;border-bottom:1px solid var(--border)}
.feature-list li:last-child{border-bottom:0}
.feature-list li::before{content:"";position:absolute;left:0;top:14px;width:20px;height:20px;border-radius:50%;background:var(--success-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316A34A' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/14px no-repeat}
/* Dropzone / tool shared */
.dropzone{border:2px dashed var(--border);border-radius:var(--radius);padding:36px 20px;text-align:center;background:var(--surface-2);cursor:pointer;transition:border-color .15s,background .15s}
.dropzone:hover,.dropzone.drag-over{border-color:var(--primary);background:#EEF2FF}
html[data-theme="dark"] .dropzone.drag-over{background:#1E1B4B}
.file-list{list-style:none;padding:0;margin:16px 0}
.file-item{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid var(--border);border-radius:12px;margin-bottom:8px;background:var(--surface)}
.progress{height:10px;background:var(--border);border-radius:999px;overflow:hidden;margin:12px 0}
.progress-bar{height:100%;width:0;background:linear-gradient(90deg,#4F46E5,#7C3AED);transition:width .3s}
.result-panel{padding:20px;margin-top:16px}
.alert{padding:14px 16px;border-radius:12px;margin:12px 0;font-weight:600}
.alert-success{background:var(--success-bg);color:#14532D;border:1px solid #86EFAC}
.alert-error{background:var(--red-bg);color:#7F1D1D;border:1px solid #FCA5A5}
.alert-warning{background:var(--amber-bg);color:#78350F;border:1px solid #FCD34D}
.alert-info{background:var(--info-bg);color:#1E3A8A;border:1px solid #93C5FD}
.badge{display:inline-block;background:#EDE9FE;color:var(--primary);font-size:.8rem;font-weight:700;padding:4px 10px;border-radius:999px}
.badge.green{background:var(--success-bg);color:#14532D}.badge.amber{background:var(--amber-bg);color:#78350F}.badge.red{background:var(--red-bg);color:#7F1D1D}
label{display:block;font-weight:600;margin:14px 0 6px}
input[type=text],input[type=email],input[type=url],textarea,select{width:100%;padding:12px 14px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text);font-size:1rem;font-family:inherit}
input:focus,textarea:focus,select:focus{outline:3px solid rgba(124,58,237,.35);border-color:var(--primary)}
.field-error{color:var(--red);font-size:.88rem;font-weight:600;margin-top:4px}
.faq-item{border:1px solid var(--border);border-radius:12px;margin-bottom:10px;background:var(--surface);overflow:hidden}
.faq-item summary{padding:16px 18px;font-weight:700;cursor:pointer;list-style:none}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item p{padding:0 18px 16px;margin:0;color:var(--muted)}
.filter-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:18px 0}
.filter-btn{padding:9px 16px;border-radius:999px;border:1px solid var(--border);background:var(--surface);color:var(--text);font-weight:600;cursor:pointer;font-family:inherit}
.filter-btn.active,.filter-btn[aria-pressed="true"]{background:var(--primary);color:#fff;border-color:var(--primary)}
.recent-list{list-style:none;padding:0;display:flex;gap:10px;flex-wrap:wrap}
.recent-list a{border:1px solid var(--border);border-radius:999px;padding:8px 14px;background:var(--surface);color:var(--text);font-weight:600}
/* Footer */
footer.site{background:var(--surface);border-top:1px solid var(--border);margin-top:40px;padding:44px 0 20px}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr 1fr;gap:28px}
footer.site h3,footer.site h4{font-size:1rem;margin-bottom:12px}
footer.site ul{list-style:none;padding:0;margin:0}
footer.site li{margin-bottom:8px}
footer.site a{color:var(--muted)}
footer.site a:hover{color:var(--primary)}
.footer-bottom{border-top:1px solid var(--border);margin-top:32px;padding-top:18px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;color:var(--muted);font-size:.9rem}
.prose{max-width:760px}
.prose h2{margin-top:28px}
.prose ul{margin:0 0 1rem;padding-left:20px}
@media(max-width:960px){.tool-grid,.cat-grid{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr 1fr}.nav-links{display:none}.hamburger{display:block}.float-icon{width:64px;height:64px;border-radius:18px}.float-icon svg{width:34px;height:34px}.fi-pdf{left:2%}.fi-excel{right:2%}.fi-img{left:1%;top:62%}.fi-code{right:1%;top:60%}.trust-item+.trust-item{border-left:0}.steps,.two-col{grid-template-columns:1fr}}
@media(max-width:560px){.tool-grid,.cat-grid{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr}.hero{padding-top:44px}header.site nav{padding:10px 12px;gap:10px}.logo{font-size:1.15rem}.hamburger{padding:8px}.btn-home{display:none}.float-icon{width:48px;height:48px;border-radius:14px;opacity:.85}.float-icon svg{width:26px;height:26px}.search-bar form{flex-wrap:wrap;border-radius:20px}.search-bar .btn{width:100%}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
