*{margin:0;padding:0;box-sizing:border-box;touch-action:manipulation}:root{--primary-color: #2563eb;--secondary-color: #475569;--border-color: #e2e8f0;--bg-light: #f8fafc;--text-dark: #0f172a;--text-light: #64748b;--success-color: #10b981;--danger-color: #ef4444}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;line-height:1.6;color:var(--text-dark);background:var(--bg-light)}.app{min-height:100vh;display:flex;flex-direction:column}.header{background:#fff;border-bottom:1px solid var(--border-color);padding:1rem 0}.header-top{display:flex;align-items:center;gap:1rem}.logo-section{display:flex;align-items:center;gap:1rem;flex:1}.logo-image{width:clamp(100px,20vw,180px);height:auto;max-height:70px;object-fit:contain;flex-shrink:0}.header-text{flex:1}.header h1{font-size:1.75rem;font-weight:700;color:var(--text-dark);margin-bottom:.25rem}.subtitle{color:var(--text-light);font-size:.875rem}.mode-selector{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1.5rem;padding:1rem;background:linear-gradient(135deg,#e3f2fd,#f3e5f5);border-radius:.5rem;border:1px solid var(--border-color)}.mode-label{font-weight:600;color:var(--text-dark);font-size:.9rem}.mode-buttons{display:flex;gap:.5rem;width:100%}.mode-btn{padding:.7rem 1rem;border:2px solid var(--border-color);background:#fff;color:var(--text-dark);border-radius:.375rem;cursor:pointer;font-size:.875rem;font-weight:500;transition:all .2s ease;white-space:nowrap;flex:1;min-height:44px;display:flex;align-items:center;justify-content:center}.mode-btn:hover{border-color:var(--primary-color);color:var(--primary-color);background:#f8fafc}.mode-btn.active{background:var(--primary-color);color:#fff;border-color:var(--primary-color);box-shadow:0 4px 6px #2563eb33}.mode-btn.active:hover{background:#1d4ed8;border-color:#1d4ed8}.container{max-width:1400px;margin:0 auto;padding:0 1rem;width:100%}.main-content{flex:1;padding:2rem 0;width:100%;overflow-x:hidden}.layout{display:grid;grid-template-columns:1fr 1fr;gap:2rem;width:100%}.form-section{background:#fff;border-radius:8px;padding:1rem;margin-bottom:1rem;border:1px solid var(--border-color)}.form-section h2{font-size:1.125rem;font-weight:600;margin-bottom:1rem;color:var(--text-dark)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem;width:100%;box-sizing:border-box;overflow-x:hidden}.form-group{display:flex;flex-direction:column}.form-group.full-width{grid-column:1 / -1}.form-group label{font-size:.875rem;font-weight:500;margin-bottom:.375rem;color:var(--secondary-color)}.form-group input,.form-group textarea,.form-group select{padding:.75rem;border:1px solid var(--border-color);border-radius:4px;font-size:1rem;font-family:inherit;transition:border-color .15s,box-shadow .15s;min-height:44px;width:100%;box-sizing:border-box}.form-group input:focus,.form-group textarea:focus,.form-group select:focus{outline:none;border-color:var(--primary-color)}.form-group textarea{resize:vertical;min-height:60px}.btn-remove-logo{margin-top:.5rem;padding:.375rem .75rem;font-size:.75rem;background:var(--danger-color);color:#fff;border:none;border-radius:4px;cursor:pointer}.items-table{margin-top:1rem}.items-header,.item-row{display:grid;grid-template-columns:2fr 1fr 1fr 1fr 50px;gap:.75rem;align-items:center;padding:.75rem 0;width:100%;box-sizing:border-box;overflow-x:hidden}.items-header{font-weight:600;font-size:.875rem;border-bottom:2px solid var(--border-color);padding-bottom:.5rem}.item-row{border-bottom:1px solid var(--border-color)}.item-row input{width:100%;padding:.5rem;border:1px solid var(--border-color);border-radius:4px;font-size:.875rem;box-sizing:border-box;min-height:40px}.item-total{text-align:right;font-weight:500}.btn-remove{background:transparent;border:1px solid var(--border-color);padding:.375rem;border-radius:4px;cursor:pointer;font-size:1rem;transition:all .15s}.btn-remove:hover:not(:disabled){background:var(--danger-color);border-color:var(--danger-color)}.btn-remove:disabled{opacity:.3;cursor:not-allowed}.btn-add-item{margin-top:.75rem;padding:.625rem 1rem;background:var(--bg-light);border:1px dashed var(--border-color);border-radius:4px;cursor:pointer;font-size:.875rem;transition:all .15s;width:100%}.btn-add-item:hover{background:#fff;border-color:var(--primary-color)}.super-simple-form{display:flex;flex-direction:column;gap:1.5rem}.super-simple-section{display:flex;flex-direction:column;gap:.75rem}.super-simple-section h3{font-size:1rem;font-weight:600;color:var(--text-dark);margin-bottom:.25rem}.super-simple-section input{padding:.625rem;border:1px solid var(--border-color);border-radius:4px;font-size:.9rem}.super-simple-section input:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px #2563eb1a}.super-simple-items{display:flex;flex-direction:column;gap:.5rem}.super-simple-item-row{display:grid;grid-template-columns:1fr .8fr 40px;gap:.5rem;align-items:center;padding:.5rem;background:var(--bg-light);border-radius:4px}.super-simple-item-row input{padding:.5rem;border:1px solid var(--border-color);border-radius:3px;font-size:.875rem}.super-simple-item-row button{padding:.375rem;border:1px solid var(--danger-color);background:#fff;color:var(--danger-color);border-radius:3px;cursor:pointer;font-size:.875rem;transition:all .15s}.super-simple-item-row button:hover{background:var(--danger-color);color:#fff}.super-simple-total{padding:1rem;background:var(--primary-color);color:#fff;border-radius:4px;font-size:1.125rem;font-weight:600;text-align:right}.super-simple-add-item{padding:.625rem 1rem;background:var(--success-color);color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:.875rem;font-weight:500;transition:all .15s}.super-simple-add-item:hover{background:#059669}.action-buttons{display:flex;gap:.75rem;margin-top:1.5rem;flex-direction:column}.btn{padding:1rem 1.5rem;border:none;border-radius:6px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .15s;flex:1;min-height:48px;display:flex;align-items:center;justify-content:center}.btn-primary{background:var(--primary-color);color:#fff}.btn-primary:hover:not(:disabled){background:#1d4ed8}.btn-secondary{background:var(--secondary-color);color:#fff}.btn-secondary:hover:not(:disabled){background:#334155}.btn-reset{background:#fff;color:var(--text-dark);border:1px solid var(--border-color);flex:.5}.btn-reset:hover{background:var(--bg-light)}.btn:disabled{opacity:.5;cursor:not-allowed}.preview-section{position:static;height:auto;z-index:0}.invoice-preview{background:#fff;border:1px solid var(--border-color);border-radius:8px;overflow:hidden}.invoice-container{padding:2.5rem;background:#fff}.invoice-header{display:flex;justify-content:space-between;margin-bottom:2rem;padding-bottom:1.5rem;border-bottom:2px solid var(--border-color)}.invoice-header-left{display:flex;gap:1rem}.business-logo{width:80px;height:80px;object-fit:contain}.business-name{font-size:1.5rem;font-weight:700;margin-bottom:.5rem}.business-address,.business-contact{font-size:.875rem;color:var(--secondary-color);margin-bottom:.25rem}.invoice-header-right{text-align:right}.invoice-title{font-size:2rem;font-weight:700;color:var(--text-dark);margin-bottom:.75rem}.invoice-container.super-simple-invoice{padding:2.5rem;background:#fff;border:1px solid var(--border-color);border-radius:8px}.super-simple-header{margin-bottom:2rem}.super-simple-header-top{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1.5rem}.super-simple-title{font-size:2.5rem;font-weight:800;color:var(--primary-color);letter-spacing:2px}.super-simple-invoice-number{display:flex;gap:2rem;text-align:right}.invoice-number-item{display:flex;flex-direction:column;align-items:flex-end}.invoice-number-item .label{font-size:.75rem;font-weight:600;color:var(--secondary-color);text-transform:uppercase;letter-spacing:.5px;margin-bottom:.25rem}.invoice-number-item .value{font-size:1.125rem;font-weight:700;color:var(--text-dark)}.super-simple-divider{height:2px;background:linear-gradient(to right,var(--primary-color),transparent);margin-bottom:1rem}.super-simple-invoice .invoice-bill-to{margin-bottom:2.5rem;padding-bottom:1.5rem;border-bottom:1px solid var(--border-color)}.super-simple-invoice .invoice-bill-to h3{font-size:.75rem;font-weight:700;color:var(--secondary-color);text-transform:uppercase;letter-spacing:1px;margin-bottom:.75rem}.super-simple-invoice .client-name{font-size:1.25rem;font-weight:700;color:var(--text-dark);margin-bottom:.5rem}.super-simple-invoice .invoice-table{margin:2rem 0}.super-simple-invoice .invoice-table thead{background:linear-gradient(135deg,#2563eb0d,#2563eb05)}.super-simple-invoice .invoice-table th{padding:1rem .75rem;font-size:.8rem;font-weight:700;color:var(--primary-color);text-transform:uppercase;letter-spacing:.5px;border-bottom:2px solid var(--primary-color)}.super-simple-invoice .invoice-table td{padding:1rem .75rem;font-size:.95rem;border-bottom:1px solid var(--border-color)}.super-simple-invoice .invoice-table tbody tr:hover{background:#2563eb08}.super-simple-invoice .col-desc{font-weight:500;color:var(--text-dark)}.super-simple-invoice .col-qty,.super-simple-invoice .col-rate,.super-simple-invoice .col-amount{text-align:right;font-weight:500}.super-simple-invoice .invoice-totals{margin:2rem 0;padding:1.5rem;background:linear-gradient(135deg,#2563eb14,#2563eb08);border-radius:6px;width:100%;max-width:350px;margin-left:auto}.super-simple-invoice .totals-row{padding:.75rem 0;font-size:.95rem}.super-simple-invoice .totals-label{font-weight:600;color:var(--secondary-color)}.super-simple-invoice .totals-value{font-weight:700;color:var(--text-dark)}.super-simple-invoice .total-row{border-top:2px solid var(--primary-color);padding-top:1rem;margin-top:.75rem;font-size:1.25rem;font-weight:800;color:var(--primary-color)}.invoice-meta{font-size:.875rem}.meta-row{display:flex;justify-content:flex-end;gap:.5rem;margin-bottom:.25rem}.meta-label{font-weight:600;color:var(--secondary-color)}.meta-value{color:var(--text-dark)}.invoice-bill-to{margin-bottom:2rem}.invoice-bill-to h3{font-size:.875rem;font-weight:600;color:var(--secondary-color);text-transform:uppercase;margin-bottom:.5rem}.client-name{font-size:1.125rem;font-weight:600;margin-bottom:.25rem}.client-address{font-size:.875rem;color:var(--secondary-color)}.invoice-table{width:100%;border-collapse:collapse;margin-bottom:1.5rem}.invoice-table thead{background:var(--bg-light)}.invoice-table th{padding:.75rem;text-align:left;font-size:.875rem;font-weight:600;color:var(--secondary-color);border-bottom:2px solid var(--border-color)}.invoice-table td{padding:.75rem;font-size:.875rem;border-bottom:1px solid var(--border-color)}.col-qty,.col-rate,.col-amount{text-align:right}.col-desc{width:45%}.invoice-totals{margin-left:auto;width:300px}.totals-row{display:flex;justify-content:space-between;padding:.5rem 0;font-size:.875rem}.totals-label{color:var(--secondary-color)}.totals-value{font-weight:600;color:var(--text-dark)}.total-row{border-top:2px solid var(--border-color);padding-top:.75rem;margin-top:.5rem;font-size:1.125rem;font-weight:700}.invoice-footer{margin-top:2rem;padding-top:1.5rem;border-top:1px solid var(--border-color)}.footer-section{margin-bottom:1rem}.footer-section h4{font-size:.875rem;font-weight:600;margin-bottom:.375rem;color:var(--secondary-color)}.footer-section p{font-size:.875rem;color:var(--text-dark);white-space:pre-line}.footer{background:#fff;border-top:1px solid var(--border-color);padding:2rem 0;margin-top:3rem}.footer-nav{margin-bottom:1rem}.footer-links{display:flex;justify-content:center;gap:2rem;flex-wrap:wrap;margin-bottom:1rem}.footer-links a{color:var(--primary-color);text-decoration:none;font-size:.875rem;font-weight:500}.footer-links a:hover{text-decoration:underline}.footer-text{text-align:center;font-size:.875rem;color:var(--text-light);line-height:1.8;margin-bottom:.5rem}.footer-keywords{text-align:center;font-size:.75rem;color:var(--text-light);opacity:.7;font-style:italic}.seo-content-wrapper{margin-top:4rem;padding-top:3rem;border-top:2px solid var(--border-color)}.seo-content{max-width:1000px;margin:0 auto}.seo-hero{text-align:center;margin-bottom:3rem;padding:2rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-radius:12px}.seo-h1{font-size:2.5rem;font-weight:800;margin-bottom:1rem;line-height:1.2}.seo-description{font-size:1.125rem;line-height:1.8;opacity:.95}.seo-features,.seo-use-cases,.seo-how-it-works,.seo-faq,.seo-benefits,.seo-keywords,.seo-trust{background:#fff;padding:2.5rem;margin-bottom:2rem;border-radius:8px;border:1px solid var(--border-color)}.seo-features h2,.seo-use-cases h2,.seo-how-it-works h2,.seo-faq h2,.seo-benefits h2,.seo-keywords h2,.seo-trust h2{font-size:1.875rem;font-weight:700;margin-bottom:1.5rem;color:var(--text-dark);text-align:center}.features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem;margin-top:2rem}.feature-card{padding:1.5rem;background:var(--bg-light);border-radius:8px;border:1px solid var(--border-color);transition:transform .2s,box-shadow .2s}.feature-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.feature-card h3{font-size:1.125rem;font-weight:600;margin-bottom:.75rem;color:var(--text-dark)}.feature-card p{font-size:.9375rem;color:var(--secondary-color);line-height:1.6}.use-cases-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-top:2rem}.use-case{padding:1.5rem;background:#fff;border:2px solid var(--border-color);border-radius:8px}.use-case h3{font-size:1.125rem;font-weight:600;margin-bottom:.75rem;color:var(--primary-color)}.use-case p{font-size:.9375rem;color:var(--secondary-color);line-height:1.6}.steps-list{list-style:none;counter-reset:step-counter;padding:0;margin-top:2rem}.steps-list li{counter-increment:step-counter;margin-bottom:2rem;padding-left:3rem;position:relative}.steps-list li:before{content:counter(step-counter);position:absolute;left:0;top:0;width:2rem;height:2rem;background:var(--primary-color);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1.125rem}.steps-list strong{display:block;font-size:1.125rem;margin-bottom:.5rem;color:var(--text-dark)}.steps-list p{font-size:.9375rem;color:var(--secondary-color);line-height:1.6}.faq-list{margin-top:2rem}.faq-item{margin-bottom:1.5rem;padding-bottom:1.5rem;border-bottom:1px solid var(--border-color)}.faq-item:last-child{border-bottom:none}.faq-item h3{font-size:1.125rem;font-weight:600;margin-bottom:.75rem;color:var(--text-dark)}.faq-item p{font-size:.9375rem;color:var(--secondary-color);line-height:1.7}.btn-show-more{display:block;margin:2rem auto 0;padding:.75rem 2rem;background:var(--primary-color);color:#fff;border:none;border-radius:6px;font-size:.9375rem;font-weight:600;cursor:pointer;transition:background .2s}.btn-show-more:hover{background:#1d4ed8}.benefits-list{list-style:none;padding:0;margin-top:2rem;display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1rem}.benefits-list li{font-size:.9375rem;color:var(--text-dark);line-height:1.6;padding:1rem;background:var(--bg-light);border-radius:6px}.benefits-list strong{color:var(--primary-color)}.seo-keywords p{font-size:1rem;line-height:1.8;color:var(--secondary-color);margin-bottom:1rem}.seo-keywords strong{color:var(--text-dark);font-weight:600}.trust-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:2rem;margin-top:2rem}.stat{text-align:center;padding:1.5rem;background:var(--bg-light);border-radius:8px}.stat strong{display:block;font-size:2.5rem;font-weight:700;color:var(--primary-color);margin-bottom:.5rem}.stat span{font-size:.9375rem;color:var(--secondary-color)}.items-table-simple{display:flex;flex-direction:column;gap:.75rem}.item-row-simple{display:grid;grid-template-columns:1fr 140px 40px;gap:.75rem;align-items:center;padding:.875rem;background:linear-gradient(135deg,#2563eb08,#2563eb03);border:1px solid rgba(37,99,235,.1);border-radius:6px;transition:all .2s ease}.item-row-simple:hover{background:linear-gradient(135deg,#2563eb0f,#2563eb05);border-color:#2563eb33}.item-desc-simple input,.item-amount-simple input{width:100%;padding:.625rem .75rem;border:1px solid var(--border-color);border-radius:4px;font-size:.9rem;font-family:inherit;transition:all .2s ease}.item-desc-simple input{color:var(--text-dark);background:#fff}.item-desc-simple input:placeholder-shown{color:var(--text-light)}.item-desc-simple input:focus,.item-amount-simple input:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px #2563eb1a;background:#fff}.item-amount-simple input{text-align:right;font-weight:600;color:var(--primary-color)}.item-amount-simple input::placeholder{color:var(--text-light);font-weight:400}.item-remove-simple{display:flex;justify-content:center}.btn-remove-simple{padding:.5rem .625rem;border:1px solid #dc3545;background:#fff;color:#dc3545;border-radius:4px;cursor:pointer;font-size:1rem;font-weight:600;transition:all .2s ease;line-height:1}.btn-remove-simple:hover:not(:disabled){background:#dc35451a}.btn-remove-simple:disabled{opacity:.5;cursor:not-allowed}.btn-add-simple{margin-top:.5rem;padding:.75rem 1rem;border:1px solid var(--primary-color);background:#fff;color:var(--primary-color);border-radius:4px;cursor:pointer;font-size:.9rem;font-weight:600;transition:all .2s ease}.btn-add-simple:hover{background:#2563eb0d;border-color:var(--primary-color)}.btn-add-simple:active{background:#2563eb1a}@media print{.no-print{display:none!important}body{background:#fff}.preview-section{position:static}.invoice-preview{border:none;box-shadow:none}.invoice-container{padding:0}.layout{display:block}}@media (max-width: 1024px){.layout{grid-template-columns:1fr;gap:1.5rem}.preview-section{position:static;margin-top:1rem}.form-grid{grid-template-columns:1fr}.items-header,.item-row{grid-template-columns:1.5fr .8fr .8fr .8fr 35px;gap:.4rem;font-size:.75rem}.action-buttons{flex-direction:row}.btn-reset{flex:.5}.seo-h1{font-size:1.75rem}.features-grid,.use-cases-grid{grid-template-columns:1fr}}@media (max-width: 768px){.header{padding:.75rem 0}.header-text{display:none}.container{padding:0 .75rem}.main-content{padding:1rem 0}.header h1{font-size:1.5rem}}@media (max-width: 640px){body{font-size:14px}html,body{height:auto;overflow-y:auto}.app{min-height:100vh;overflow-x:hidden}.header{padding:.5rem 0}.header-top{gap:.5rem}.logo-image{width:100px;max-height:50px}.header h1{font-size:1.25rem}.header-text{display:block}.subtitle{font-size:.75rem}.container{padding:0 .75rem;width:100%}.main-content{padding:.75rem 0;width:100%}.layout{grid-template-columns:1fr;gap:1rem;width:100%}.mode-selector{margin-bottom:1rem;padding:.75rem;flex-direction:column}.mode-label{font-size:.8rem}.mode-buttons{width:100%}.mode-btn{font-size:.8rem;padding:.6rem .8rem}.form-section{padding:.6rem;margin-bottom:.75rem}.form-section h2{font-size:1rem}.form-grid{grid-template-columns:1fr;gap:.75rem}.form-group label{font-size:.75rem}.form-group input,.form-group textarea,.form-group select{padding:.6rem;font-size:16px;min-height:44px}.form-group textarea{min-height:80px}.action-buttons{gap:.5rem;margin-top:1rem;flex-direction:column}.btn{padding:.875rem 1rem;font-size:.95rem;min-height:44px}.btn-reset{flex:1}.preview-section{position:static;margin-top:1rem}.invoice-header{flex-direction:column;gap:1rem}.invoice-header-right{text-align:left}.business-logo{width:50px;height:50px}.invoice-title{font-size:1.25rem}.invoice-container{padding:1.25rem}.invoice-totals{width:100%;max-width:100%}.items-header{display:none}.item-row{display:flex;flex-direction:column;gap:.5rem;padding:.75rem;background:var(--bg-light);margin-bottom:.5rem;border-radius:4px}.item-row input{font-size:16px;min-height:44px}.item-row>div{display:flex;justify-content:space-between}.item-row>div:before{content:attr(data-label);font-weight:600;font-size:.7rem;color:var(--secondary-color)}.super-simple-item-row{grid-template-columns:1fr .7fr 40px;gap:.4rem;padding:.6rem}.super-simple-item-row input{font-size:16px;min-height:40px}.super-simple-item-row button{min-height:40px}.super-simple-add-item{width:100%;padding:.75rem;font-size:.9rem;min-height:44px}.seo-h1{font-size:1.5rem}.seo-description{font-size:.95rem}.seo-features,.seo-use-cases,.seo-how-it-works,.seo-faq,.seo-benefits,.seo-keywords,.seo-trust{padding:1.25rem;margin-bottom:1.25rem}.seo-features h2,.seo-use-cases h2,.seo-how-it-works h2,.seo-faq h2,.seo-benefits h2,.seo-keywords h2,.seo-trust h2{font-size:1.25rem}.features-grid,.use-cases-grid{grid-template-columns:1fr;gap:1rem}.feature-card,.use-case{padding:1rem}.footer-links{flex-direction:column;align-items:center;gap:.5rem;font-size:.8rem}.trust-stats{grid-template-columns:repeat(2,1fr);gap:1rem}.stat{padding:1rem}.stat strong{font-size:2rem}}@media (max-width: 480px){.header h1{font-size:1rem}.logo-image{width:80px;max-height:40px}.header-top{gap:.3rem}.header h1{margin-bottom:0}.invoice-title{font-size:1.125rem}.invoice-container{padding:.875rem}.form-section h2{font-size:.95rem}.btn{font-size:.9rem;padding:.75rem 1rem}.super-simple-title{font-size:2rem}.super-simple-invoice .invoice-table th{font-size:.7rem;padding:.4rem}.super-simple-invoice .invoice-table td{font-size:.8rem;padding:.4rem}.trust-stats{grid-template-columns:1fr}.seo-hero{padding:1rem;margin-bottom:1.5rem}.seo-h1{font-size:1.25rem}}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
