:root{--primary:#2563eb;--primary-dark:#1d4ed8;--primary-light:#3b82f6;--secondary:#0f172a;--accent:#06b6d4;--background:#f8fafc;--surface:#fff;--text:#1e293b;--text-muted:#64748b;--border:#e2e8f0;--success:#10b981;--warning:#f59e0b;--error:#ef4444;--shadow-sm:0 1px 2px 0 #0000000d;--shadow:0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;--shadow-lg:0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;--radius:8px;--radius-lg:12px}*{box-sizing:border-box;margin:0;padding:0}html{scroll-behavior:smooth;font-size:16px}body{background:var(--background);color:var(--text);min-height:100vh;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;line-height:1.6}#root{flex-direction:column;min-height:100vh;display:flex}a{color:var(--primary);text-decoration:none;transition:color .2s}a:hover{color:var(--primary-dark)}button{cursor:pointer;background:0 0;border:none;font-family:inherit}img{max-width:100%;height:auto}.container{width:100%;max-width:1200px;margin:0 auto;padding:0 1rem}.btn{border-radius:var(--radius);justify-content:center;align-items:center;gap:.5rem;padding:.75rem 1.5rem;font-size:1rem;font-weight:600;transition:all .2s;display:inline-flex}.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover{background:var(--primary-dark);box-shadow:var(--shadow);transform:translateY(-1px)}.btn-secondary{background:var(--surface);color:var(--text);border:1px solid var(--border)}.btn-secondary:hover{background:var(--background);border-color:var(--text-muted)}.btn-success{background:var(--success);color:#fff}.btn-success:hover{background:#059669}.btn:disabled{opacity:.6;cursor:not-allowed;transform:none}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.header{background:var(--surface);border-bottom:1px solid var(--border);z-index:100;position:sticky;top:0}.header-inner{justify-content:space-between;align-items:center;height:64px;display:flex}.logo{color:var(--text);align-items:center;gap:.5rem;font-size:1.5rem;font-weight:700;display:flex}.logo:hover{color:var(--text)}.logo-icon{background:linear-gradient(135deg, var(--primary), var(--accent));border-radius:var(--radius);color:#fff;justify-content:center;align-items:center;width:32px;height:32px;font-size:1rem;display:flex}.nav{align-items:center;gap:1.5rem;display:flex}.nav a{color:var(--text-muted);font-size:.9rem;font-weight:500}.nav a:hover{color:var(--primary)}.footer{background:var(--secondary);color:#94a3b8;margin-top:auto;padding:3rem 0 1.5rem}.footer-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:2rem;margin-bottom:2rem;display:grid}.footer-section h3{color:#fff;margin-bottom:1rem;font-size:1rem;font-weight:600}.footer-section ul{flex-direction:column;gap:.5rem;list-style:none;display:flex}.footer-section a{color:#94a3b8;font-size:.875rem}.footer-section a:hover{color:#fff}.footer-bottom{text-align:center;border-top:1px solid #334155;padding-top:1.5rem;font-size:.875rem}main{flex:1}.upload-zone{border:2px dashed var(--border);border-radius:var(--radius-lg);text-align:center;background:var(--surface);cursor:pointer;padding:3rem 2rem;transition:all .2s}.upload-zone:hover,.upload-zone.drag-over{border-color:var(--primary);background:#eff6ff}.upload-zone-icon{background:linear-gradient(135deg, var(--primary), var(--accent));color:#fff;border-radius:50%;justify-content:center;align-items:center;width:64px;height:64px;margin:0 auto 1rem;font-size:1.5rem;display:flex}.upload-zone h3{margin-bottom:.5rem;font-size:1.25rem}.upload-zone p{color:var(--text-muted);font-size:.9rem}.editor-container{background:var(--surface);border-radius:var(--radius-lg);box-shadow:var(--shadow);overflow:hidden}.editor-toolbar{border-bottom:1px solid var(--border);background:var(--background);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;padding:1rem;display:flex}.editor-actions{flex-wrap:wrap;gap:.5rem;display:flex}.editor-canvas-wrapper{background:#f1f5f9;justify-content:center;align-items:center;min-height:400px;max-height:70vh;padding:1rem;display:flex;position:relative;overflow:auto}.editor-canvas{max-width:100%;max-height:100%;box-shadow:var(--shadow-lg)}.text-box-overlay{border:2px solid var(--primary);cursor:pointer;background:#2563eb1a;transition:all .2s;position:absolute}.text-box-overlay:hover{border-color:var(--primary-dark);background:#2563eb33}.text-box-overlay.selected{border-color:var(--success);background:#10b98126}.modal-overlay{z-index:1000;background:#00000080;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.modal{background:var(--surface);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);width:100%;max-width:500px;max-height:90vh;overflow-y:auto}.modal-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:1rem 1.5rem;display:flex}.modal-header h2{font-size:1.25rem}.modal-close{width:32px;height:32px;color:var(--text-muted);border-radius:50%;justify-content:center;align-items:center;transition:all .2s;display:flex}.modal-close:hover{background:var(--background);color:var(--text)}.modal-body{padding:1.5rem}.modal-footer{border-top:1px solid var(--border);justify-content:flex-end;gap:.75rem;padding:1rem 1.5rem;display:flex}.form-group{margin-bottom:1.25rem}.form-group label{margin-bottom:.5rem;font-size:.9rem;font-weight:500;display:block}.form-group input,.form-group select,.form-group textarea{border:1px solid var(--border);border-radius:var(--radius);width:100%;padding:.75rem;font-family:inherit;font-size:1rem;transition:border-color .2s}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:var(--primary);outline:none}.form-row{grid-template-columns:1fr 1fr;gap:1rem;display:grid}.color-input-wrapper{align-items:center;gap:.5rem;display:flex}.color-input-wrapper input[type=color]{cursor:pointer;width:48px;height:38px;padding:2px}.color-input-wrapper input[type=text]{flex:1}.progress-wrapper{text-align:center;padding:2rem}.progress-bar{background:var(--border);border-radius:4px;width:100%;height:8px;margin-bottom:1rem;overflow:hidden}.progress-fill{background:linear-gradient(90deg, var(--primary), var(--accent));height:100%;transition:width .3s}.progress-text{color:var(--text-muted);font-size:.9rem}.hero{text-align:center;background:linear-gradient(180deg, #eff6ff 0%, var(--background) 100%);padding:4rem 0}.hero h1{color:var(--secondary);margin-bottom:1rem;font-size:clamp(2rem,5vw,3rem);line-height:1.2}.hero p{color:var(--text-muted);max-width:600px;margin:0 auto 2rem;font-size:1.125rem}.features{padding:4rem 0}.features-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:2rem;display:grid}.feature-card{background:var(--surface);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);border:1px solid var(--border);padding:2rem}.feature-card-icon{background:linear-gradient(135deg, var(--primary), var(--accent));border-radius:var(--radius);color:#fff;justify-content:center;align-items:center;width:48px;height:48px;margin-bottom:1rem;font-size:1.25rem;display:flex}.feature-card h3{margin-bottom:.5rem;font-size:1.125rem}.feature-card p{color:var(--text-muted);font-size:.9rem}.cta-section{text-align:center;background:var(--surface);padding:4rem 0}.cta-section h2{margin-bottom:1rem;font-size:2rem}.cta-section p{color:var(--text-muted);margin-bottom:2rem}.legal-page{padding:3rem 0}.legal-page .container{max-width:800px}.legal-page h1{margin-bottom:.5rem;font-size:2rem}.legal-page .last-updated{color:var(--text-muted);margin-bottom:2rem;font-size:.9rem}.legal-page h2{border-top:1px solid var(--border);margin:2rem 0 1rem;padding-top:1rem;font-size:1.25rem}.legal-page p,.legal-page li{color:var(--text);margin-bottom:1rem}.legal-page ul{margin-left:1.5rem}.legal-page .highlight-box{border-radius:var(--radius);background:#fef2f2;border:1px solid #fecaca;margin:1.5rem 0;padding:1rem 1.5rem}.legal-page .highlight-box strong{color:var(--error)}.how-it-works{background:var(--surface);padding:4rem 0}.how-it-works h2{text-align:center;margin-bottom:3rem;font-size:2rem}.steps{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:2rem;max-width:900px;margin:0 auto;display:grid}.step{text-align:center}.step-number{background:var(--primary);color:#fff;border-radius:50%;justify-content:center;align-items:center;width:48px;height:48px;margin:0 auto 1rem;font-size:1.25rem;font-weight:700;display:flex}.step h3{margin-bottom:.5rem}.step p{color:var(--text-muted);font-size:.9rem}.privacy-badge{color:#059669;background:#ecfdf5;border-radius:100px;align-items:center;gap:.5rem;margin-bottom:1.5rem;padding:.5rem 1rem;font-size:.875rem;font-weight:500;display:inline-flex}.not-found{text-align:center;padding:4rem 0}.not-found h1{color:var(--primary);font-size:6rem;line-height:1}.not-found h2{margin-bottom:1rem;font-size:1.5rem}.not-found p{color:var(--text-muted);margin-bottom:2rem}@media (width<=768px){.header-inner{flex-wrap:wrap;gap:1rem;height:auto;padding:1rem 0}.nav{order:3;justify-content:center;gap:1rem;width:100%}.hero{padding:2rem 0}.editor-toolbar{flex-direction:column;align-items:stretch}.editor-actions{justify-content:center}.form-row{grid-template-columns:1fr}.footer-grid{text-align:center}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.fade-in{animation:.3s ease-out fadeIn}.slide-up{animation:.4s ease-out slideUp}.spinner{border:3px solid var(--border);border-top-color:var(--primary);border-radius:50%;width:40px;height:40px;margin:0 auto;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}
