*{margin:0;padding:0;box-sizing:border-box}a{text-decoration:none;color:inherit}button{border:none;background:none;font:inherit;cursor:pointer}input,textarea,select{border:none;outline:none;font:inherit;background:none}ul,ol{list-style:none}h1,h2,h3,h4,h5,h6{font-weight:inherit;font-size:inherit}img{max-width:100%;height:auto;display:block}table{border-collapse:collapse;border-spacing:0}:focus:not(:focus-visible){outline:none}:focus-visible{outline:2px solid #3b82f6;outline-offset:2px}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;line-height:1.6;color:#334155;background:linear-gradient(135deg,#f8fafc 0%,#f1f5f9 100%);min-height:100vh}.container{max-width:1200px;margin:0 auto;padding:0 20px}.header{background:rgba(255,255,255,.9);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid #e2e8f0;position:sticky;top:0;z-index:100;padding:1rem 0}.header .container{display:flex;justify-content:space-between;align-items:center;gap:2rem}.logo{font-size:1.5rem;font-weight:600;color:#3b82f6;text-decoration:none}.logo a{color:#3b82f6;text-decoration:none;display:flex;align-items:center;gap:.5rem;justify-content:center}.logo img{flex-shrink:0;display:inline-block;vertical-align:middle}.main-nav ul{display:flex;list-style:none;gap:2rem;margin:0;padding:0}.main-nav a{color:#64748b;text-decoration:none;font-weight:500;transition:color .2s ease;display:inline-block}.main-nav a:hover,.main-nav a.active{color:#3b82f6}.language-switcher select{background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;padding:8px 12px;font-size:14px;color:#475569;cursor:pointer;transition:all .2s ease;font-family:inherit}.language-switcher select:hover{border-color:#3b82f6}.language-switcher select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.main{padding:2rem 0 4rem}.hero{text-align:center;margin-bottom:3rem}.hero h1{font-size:2.5rem;font-weight:600;color:#1e293b;margin-bottom:1rem}.hero p{font-size:1.125rem;color:#64748b;max-width:600px;margin:0 auto}.converter{background:rgba(255,255,255,.7);border-radius:16px;padding:2rem;margin-bottom:3rem;border:1px solid #e2e8f0;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.tabs{display:flex;gap:4px;margin-bottom:2rem;background:#f1f5f9;border-radius:8px;padding:4px}.tab-btn{flex:1;padding:12px 24px;border-radius:6px;font-weight:500;color:#64748b;background:transparent;transition:all .2s ease;cursor:pointer}.tab-btn.active{background:white;color:#3b82f6;box-shadow:0 1px 3px #0000001a}.tab-btn:hover:not(.active){color:#3b82f6}.tab-content{display:none}.tab-content.active{display:block}.upload-area{border:2px dashed #cbd5e1;border-radius:12px;padding:3rem 2rem;text-align:center;cursor:pointer;transition:all .3s ease;background:#f8fafc}.upload-area:hover{border-color:#3b82f6;background:#f1f5f9}.upload-area.dragover{border-color:#3b82f6;background:#eff6ff;transform:scale(1.02)}.upload-content{pointer-events:none}.upload-icon{width:48px;height:48px;margin:0 auto 1rem;color:#94a3b8}.upload-area h3{font-size:1.25rem;font-weight:600;color:#334155;margin-bottom:.5rem}.upload-area p{color:#64748b;margin-bottom:.5rem}.upload-info{font-size:.875rem;color:#94a3b8}.image-preview{margin-top:2rem}.preview-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.preview-header h3{font-size:1.125rem;font-weight:600;color:#334155}.clear-btn{background:#ef4444;color:#fff;padding:8px 16px;border-radius:6px;font-size:.875rem;font-weight:500;transition:background .2s ease;cursor:pointer}.clear-btn:hover{background:#dc2626}.preview-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}.preview-item{background:white;border-radius:8px;padding:1rem;border:1px solid #e2e8f0;position:relative}.preview-item img{width:100%;height:120px;object-fit:cover;border-radius:6px;margin-bottom:.75rem}.preview-info{font-size:.875rem;color:#64748b}.remove-btn{position:absolute;top:8px;right:8px;background:#ef4444;color:#fff;width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;cursor:pointer;transition:background .2s ease}.remove-btn:hover{background:#dc2626}.result-section{margin-top:2rem}.result-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;flex-wrap:wrap;gap:1rem}.result-header h3{font-size:1.125rem;font-weight:600;color:#334155}.output-options{display:flex;align-items:center;gap:.5rem}.output-options label{font-size:.875rem;color:#64748b;font-weight:500}.output-options select{background:white;border:1px solid #e2e8f0;border-radius:6px;padding:8px 12px;font-size:14px;color:#475569;cursor:pointer;transition:all .2s ease}.result-content{display:flex;gap:1rem}.result-content textarea{flex:1;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:1rem;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.875rem;line-height:1.5;resize:vertical;min-height:120px;color:#334155}.copy-btn{background:#3b82f6;color:#fff;padding:12px 24px;border-radius:8px;font-weight:500;transition:all .2s ease;cursor:pointer;white-space:nowrap;display:flex;align-items:center;gap:.5rem;align-self:flex-start}.copy-btn:hover{background:#2563eb;transform:translateY(-1px)}.copy-btn.copied{background:#10b981}.decode-input{margin-bottom:2rem}.decode-input h3{font-size:1.125rem;font-weight:600;color:#334155;margin-bottom:1rem}.decode-input textarea{width:100%;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:1rem;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.875rem;line-height:1.5;resize:vertical;min-height:120px;color:#334155;margin-bottom:1rem}.decode-btn{background:#3b82f6;color:#fff;padding:12px 24px;border-radius:8px;font-weight:500;transition:all .2s ease;cursor:pointer}.decode-btn:hover{background:#2563eb}.decode-result h3{font-size:1.125rem;font-weight:600;color:#334155;margin-bottom:1rem}.decode-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-bottom:1.5rem}.input-group{display:flex;flex-direction:column;gap:.5rem}.input-group label{font-size:.875rem;font-weight:500;color:#64748b}.input-group input{background:white;border:1px solid #e2e8f0;border-radius:6px;padding:8px 12px;font-size:14px;color:#475569;transition:all .2s ease}.decoded-preview{background:white;border:1px solid #e2e8f0;border-radius:8px;padding:1.5rem;margin-bottom:1.5rem;text-align:center;min-height:200px;display:flex;align-items:center;justify-content:center}.decoded-preview img{max-width:100%;max-height:300px;border-radius:6px;box-shadow:0 4px 6px #0000001a}.html-output{margin-top:1.5rem}.html-output h4{font-size:1rem;font-weight:600;color:#334155;margin-bottom:.75rem}.html-output textarea{width:100%;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:1rem;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.875rem;line-height:1.5;resize:vertical;min-height:80px;color:#334155;margin-bottom:.75rem}.features{margin-top:3rem}.features h2{font-size:2rem;font-weight:600;color:#1e293b;text-align:center;margin-bottom:2rem}.features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2rem}.feature-card{background:rgba(255,255,255,.7);border-radius:12px;padding:2rem;text-align:center;border:1px solid #e2e8f0;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transition:transform .2s ease}.feature-card:hover{transform:translateY(-4px)}.feature-icon{font-size:2rem;margin-bottom:1rem}.feature-card h3{font-size:1.25rem;font-weight:600;color:#334155;margin-bottom:.75rem}.feature-card p{color:#64748b;line-height:1.5}.footer{background:#1e293b;color:#94a3b8;padding:3rem 0 1rem;margin-top:4rem}.footer-content{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:2rem;margin-bottom:2rem}.footer-section h4{color:#fff;font-weight:600;margin-bottom:1rem;font-size:1.125rem}.footer-section ul{list-style:none;padding:0;margin:0}.footer-section li{margin-bottom:.5rem}.footer-section a{color:#94a3b8;text-decoration:none;transition:color .2s ease;display:inline-block}.footer-section a:hover{color:#3b82f6}.footer-bottom{border-top:1px solid #374151;padding-top:1.5rem;text-align:center;font-size:.875rem}.page-header{text-align:center;margin-bottom:3rem}.page-header h1{font-size:2.5rem;font-weight:600;color:#1e293b;margin-bottom:1rem}.page-header p{font-size:1.125rem;color:#64748b;max-width:600px;margin:0 auto}.tutorial-content{background:rgba(255,255,255,.7);border-radius:16px;padding:2rem;margin-bottom:2rem}.tutorial-section{margin-bottom:2rem}.tutorial-section h2{font-size:1.5rem;font-weight:600;color:#1e293b;margin-bottom:1rem;border-bottom:2px solid #e2e8f0;padding-bottom:.5rem}.step{background:#f8fafc;border-left:4px solid #3b82f6;padding:1.5rem;margin-bottom:1.5rem;border-radius:0 8px 8px 0}.step h3{font-size:1.125rem;font-weight:600;color:#1e293b;margin-bottom:.75rem}.info-box{background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;padding:1rem;margin:1rem 0}.info-box h3{color:#1e40af;font-weight:600;margin-bottom:.5rem}.demo-box{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;padding:1rem;margin:1rem 0;text-align:center}.demo-box a{color:#059669;font-weight:600;text-decoration:underline}.demo-box a:hover{color:#047857}.format-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1rem;margin:1.5rem 0}.format-option{background:white;border:1px solid #e2e8f0;border-radius:8px;padding:1rem}.format-option h4{font-weight:600;color:#1e293b;margin-bottom:.5rem}.format-option p{color:#64748b;margin-bottom:.75rem}.format-option code{background:#f1f5f9;padding:.5rem;border-radius:4px;font-size:.875rem;display:block;color:#475569;border:1px solid #cbd5e1;word-break:break-all}.use-case{background:#fefce8;border:1px solid #fde047;border-radius:8px;padding:1rem;margin:1rem 0}.use-case h3{color:#a16207;font-weight:600;margin-bottom:.5rem}.tip{background:#ecfdf5;border:1px solid #86efac;border-radius:8px;padding:1rem;margin:1rem 0}.tip h3{color:#166534;font-weight:600;margin-bottom:.5rem}.faq-content{background:rgba(255,255,255,.7);border-radius:16px;padding:2rem;margin-bottom:2rem}.faq-item{border-bottom:1px solid #e2e8f0;padding:1.5rem 0}.faq-item:last-child{border-bottom:none}.faq-question{font-weight:600;color:#1e293b;font-size:1.125rem;cursor:pointer;padding:.5rem 0;display:flex;justify-content:space-between;align-items:center;-webkit-user-select:none;user-select:none}.faq-question:after{content:"+";font-size:1.5rem;color:#3b82f6;transition:transform .2s ease}.faq-question.open:after{transform:rotate(45deg)}.faq-question:hover{color:#3b82f6}.faq-answer{margin-top:.75rem;color:#64748b;line-height:1.6}.faq-answer p{margin-bottom:1rem}.faq-answer ul{padding-left:1.5rem;margin-bottom:1rem}.faq-answer code{background:#f1f5f9;padding:.25rem .5rem;border-radius:4px;font-size:.875rem;color:#475569;border:1px solid #cbd5e1;font-family:Monaco,Menlo,Ubuntu Mono,monospace}.contact-section{background:rgba(255,255,255,.7);border-radius:16px;padding:2rem;margin-bottom:2rem;text-align:center;border:1px solid #e2e8f0;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.contact-section h2{font-size:1.5rem;font-weight:600;color:#1e293b;margin-bottom:1rem}.contact-section a{color:#3b82f6;font-weight:600;text-decoration:underline}.contact-section a:hover{color:#2563eb}.legal-content{background:rgba(255,255,255,.7);border-radius:16px;padding:2rem;margin-bottom:2rem}.legal-section{margin-bottom:2rem}.legal-section h2{font-size:1.5rem;font-weight:600;color:#1e293b;margin-bottom:1rem;border-bottom:2px solid #e2e8f0;padding-bottom:.5rem}.legal-section h3{font-size:1.25rem;font-weight:600;color:#374151;margin-bottom:.75rem;margin-top:1.5rem}.legal-section ul{padding-left:1.5rem;margin-bottom:1rem}.legal-section li{margin-bottom:.5rem}.highlight-box{background:#dbeafe;border:1px solid #93c5fd;border-radius:8px;padding:1rem;margin:1rem 0}.highlight-box p{color:#1e40af;margin:0;font-weight:500}.api-content{background:rgba(255,255,255,.7);border-radius:16px;padding:2rem;margin-bottom:2rem}.api-section{margin-bottom:2rem}.api-section h2{font-size:1.5rem;font-weight:600;color:#1e293b;margin-bottom:1rem;border-bottom:2px solid #e2e8f0;padding-bottom:.5rem}.code-example{background:#1e293b;border-radius:8px;padding:1.5rem;margin:1rem 0;overflow-x:auto}.code-example h3{color:#f1f5f9;font-weight:600;margin-bottom:.75rem}.code-example p{color:#94a3b8;margin-bottom:1rem}.code-example pre{margin:0;padding:0;background:none;overflow-x:auto;white-space:pre-wrap;word-wrap:break-word}.code-example code{color:#e2e8f0;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.875rem;line-height:1.5}.hidden{display:none!important}@media (max-width: 768px){.container{padding:0 16px}.header .container{flex-direction:column;gap:1rem}.main-nav ul{gap:1rem}.main-nav a{font-size:.875rem}.hero h1{font-size:2rem}.hero p{font-size:1rem}.converter{padding:1.5rem}.upload-area{padding:2rem 1rem}.tabs{flex-direction:column}.result-header{flex-direction:column;align-items:flex-start}.output-options{align-self:stretch}.decode-options,.preview-list{grid-template-columns:1fr}.footer-content{grid-template-columns:repeat(2,1fr)}}@media (max-width: 480px){.header .container{flex-direction:column;gap:.75rem;text-align:center}.main-nav ul{justify-content:center;flex-wrap:wrap}.hero h1{font-size:1.75rem}.upload-area{padding:1.5rem 1rem}.upload-icon{width:36px;height:36px}.converter{padding:1rem}.preview-list{grid-template-columns:1fr}.footer-content{grid-template-columns:1fr;text-align:center}}
