*{margin:0;padding:0;box-sizing:border-box}html,body{min-height:100%}#root{min-height:100vh;background:transparent;display:flex;flex-direction:column}#root>div{flex:1;display:flex;flex-direction:column;min-height:100vh}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;min-height:100vh;color:#333}body:before{content:"";position:fixed;top:0;left:0;width:100%;height:100vh;background:linear-gradient(135deg,#e3f2fd,#bbdefb,#90caf9,#81d4fa,#a5d6a7);z-index:-1}.bottom-spacer{height:400px;width:100%;background:transparent}.container{max-width:1200px;margin:0 auto;padding:0 2rem;width:100%;display:flex;justify-content:space-between;align-items:center;height:60px}header{background:#fff;padding:0;box-shadow:0 2px 4px #0000001a;display:flex;justify-content:space-between;align-items:center;width:100%;height:60px}.logo{display:flex;align-items:center}.logo-image{height:26px;width:auto;-o-object-fit:contain;object-fit:contain}.subscription-section{display:flex;align-items:center;gap:1rem;margin-left:auto}.subscription-info{display:flex;flex-direction:column;align-items:flex-end;gap:.25rem}.plan-text{font-weight:600;color:#333;font-size:14px;display:flex;align-items:center;gap:.25rem}.generations-text{font-size:.75rem;color:#666}.subscription-actions{display:flex;gap:.75rem;align-items:center}.manage-subscription-btn{background:#f8f9fa;color:#495057;border:1px solid #dee2e6;padding:.5rem 1rem;border-radius:6px;font-size:.875rem;cursor:pointer;transition:all .2s ease;white-space:nowrap;height:36px;display:flex;align-items:center;justify-content:center}.manage-subscription-btn:hover{background:#e9ecef;border-color:#adb5bd}.manage-subscription-btn:disabled{opacity:.6;cursor:not-allowed}.signin-btn{background:#000;color:#fff;border:none;padding:.5rem 1rem;border-radius:6px;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s ease;white-space:nowrap;height:36px;width:110px;display:flex;align-items:center;justify-content:center}.signin-btn:hover{background:#333}.signout-btn{background:#f8f9fa;color:#6c757d;border:1px solid #dee2e6;padding:.5rem 1rem;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease;white-space:nowrap;height:36px;width:110px;display:flex;align-items:center;justify-content:center}.signout-btn:hover{background:#e9ecef;border-color:#adb5bd;color:#495057}.account-dropdown{position:relative;display:inline-block}.account-icon-btn{background:#000;color:#fff;border:1px solid #000000;padding:.5rem;border-radius:6px;font-size:1.2rem;cursor:pointer;transition:all .2s ease;height:36px;width:44px;display:flex;align-items:center;justify-content:center}.account-icon-btn:hover{background:#333;border-color:#333}.dropdown-menu{position:absolute;top:100%;right:0;background:#fff;border:1px solid #dee2e6;border-radius:6px;box-shadow:0 4px 12px #00000026;min-width:180px;z-index:1000;margin-top:4px}.dropdown-item{display:block;width:100%;padding:.75rem 1rem;border:none;background:none;text-align:left;font-size:.875rem;color:#333;cursor:pointer;transition:background-color .2s ease}.dropdown-item:hover{background-color:#f8f9fa}.dropdown-item:first-child{border-radius:6px 6px 0 0}.dropdown-item:last-child{border-radius:0 0 6px 6px}.usage-info{margin-bottom:.75rem}.usage-info p{color:#6b7280;font-size:.75rem;margin-bottom:.25rem}.upgrade-prompt{color:#dc2626!important;font-weight:500}.or-divider{display:flex;align-items:center;justify-content:center;margin:1.5rem 0;gap:1rem}.line{height:1px;background:#e5e7eb;flex:1;max-width:100px}.or-text{color:#6b7280;font-size:.875rem;font-weight:500;white-space:nowrap}.auth-btn,.subscribe-btn,.logout-btn,.signin-btn,.signout-btn,.manage-subscription-btn{height:36px;padding:0 .5rem;border:none;border-radius:6px;font-size:12px;font-weight:500;cursor:pointer;transition:all .2s ease;margin:0;display:flex;align-items:center;justify-content:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.auth-btn{background:#000;color:#fff;width:180px}.auth-btn:hover{background:#333}.subscribe-btn{background:#4a90e2;color:#fff;width:160px}.subscribe-btn:hover:not(:disabled){background:#357abd}.subscribe-btn:disabled{background:#9ca3af;cursor:not-allowed}.reinstate-btn{background:#4a90e2;color:#fff;border:none;padding:.5rem 1rem;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease;white-space:nowrap;height:36px;width:160px;display:flex;align-items:center;justify-content:center}.reinstate-btn:hover:not(:disabled){background:#357abd}.reinstate-btn:disabled{background:#6c757d;cursor:not-allowed}.logout-btn{background:#ef44441a;color:#dc2626;border:1px solid rgba(239,68,68,.2);width:100px}.logout-btn:hover{background:#ef444426}.upgrade-notice{text-align:center;color:#dc2626;font-size:.875rem;margin-top:1rem;padding:.75rem;background:#fef2f2cc;border-radius:.75rem;border:1px solid rgba(254,202,202,.5)}main{width:100%;display:flex;justify-content:center;align-items:flex-start;min-height:calc(100vh - 60px);padding:0;margin-top:140px;background:transparent}main .container{display:flex;flex-direction:column;align-items:center;gap:0;min-height:100%}.input-section{text-align:center;max-width:900px;width:100%;margin:0 auto;margin-bottom:3rem}.output-section{text-align:center;max-width:900px;width:100%;margin:0 auto;margin-top:2rem;margin-bottom:300px;display:block}.hero h2,.input-section h1{font-size:64px;font-weight:700;margin-bottom:3rem;color:#000;text-align:center}.email-input-container{width:100%;margin-bottom:1rem}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.textarea{width:100%;min-height:32px;max-height:300px;padding:.5rem 1.5rem;border:none;border-radius:25px;background:#fff;font-size:16px;resize:none;box-shadow:0 2px 8px #0000001a;margin-bottom:1rem;line-height:1.5;overflow-y:auto;transition:height .3s ease}.textarea:focus{outline:none;box-shadow:0 4px 12px #00000026}.textarea::-moz-placeholder{color:#999}.textarea::placeholder{color:#999}.textarea:disabled{background:#f3f4f6;color:#6b7280;cursor:not-allowed}.usage-info{text-align:center;margin-bottom:2rem;font-size:14px;color:#000}.transform-btn{background:#ffffff4d;color:#6b7280;border:none;padding:1rem 2rem;border-radius:25px;font-size:16px;font-weight:600;cursor:pointer;box-shadow:0 4px 12px #0000001a;transition:all .2s ease;display:flex;align-items:center;justify-content:center;gap:.5rem;margin:0 auto;position:relative}.transform-btn:not(:disabled){background:#000;color:#fff;transform:translateY(-2px);box-shadow:0 6px 16px #00000040}.transform-btn.subscribe-state{background:#000!important;color:#fff!important;transform:translateY(-2px);box-shadow:0 6px 16px #00000040;cursor:pointer!important}.transform-btn:hover:not(:disabled){background:#000;color:#fff;transform:translateY(-2px) scale(1.05);box-shadow:0 6px 16px #00000040}.transform-btn:disabled{background:#ffffff4d;color:#000;cursor:not-allowed;transform:none;box-shadow:none}.copied-message{position:fixed;bottom:2rem;left:50%;transform:translate(-50%);background:#fff;color:#000;padding:.75rem 1.5rem;border-radius:25px;font-size:14px;font-weight:600;text-align:center;animation:slideUpFade .3s ease-out;box-shadow:0 8px 24px #00000026;z-index:1000}@keyframes slideUpFade{0%{opacity:0;transform:translate(-50%) translateY(20px)}to{opacity:1;transform:translate(-50%) translateY(0)}}.output-card{background:#fff;border-radius:12px;padding:1.5rem 1.5rem 3rem;box-shadow:0 4px 12px #0000001a;margin:0 auto;margin-bottom:3rem}.output-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem}.output-title{font-size:18px;font-weight:600;color:#000}.copy-btn{background:#000;color:#fff;border:none;padding:.5rem 1rem;border-radius:8px;font-size:14px;cursor:pointer;transition:all .2s ease;width:70px;text-align:center}.copy-btn:hover{background:#333}.copy-btn-pressed{background:#f3f4f6!important;color:#374151!important;transform:scale(.95)}.output-content{background:#f9fafb;border-radius:8px;padding:1rem;font-size:16px!important;line-height:1.6;white-space:pre-wrap;color:#000;word-wrap:break-word;overflow-wrap:break-word;max-width:100%;font-weight:400;font-family:inherit}.auth-modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.auth-modal{background:#fff;border-radius:12px;padding:2rem;max-width:400px;width:90%;max-height:90vh;overflow-y:auto;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a}.auth-modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.auth-modal-header h3{margin:0;font-size:1.5rem;font-weight:600;color:#111827}.auth-modal-close{background:none;border:none;font-size:1.5rem;cursor:pointer;color:#6b7280;padding:.25rem;border-radius:4px}.auth-modal-close:hover{background:#f3f4f6;color:#374151}.auth-google-btn{width:100%;padding:.75rem 1rem;background:#000;color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:500;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:.5rem;transition:background-color .2s}.auth-google-btn:hover{background:#333}.auth-google-btn:disabled{background:#9ca3af;cursor:not-allowed}.auth-divider{text-align:center;margin:1.5rem 0;position:relative}.auth-divider:before{content:"";position:absolute;top:50%;left:0;right:0;height:1px;background:#e5e7eb}.auth-divider span{background:#fff;padding:0 1rem;color:#6b7280;font-size:.875rem}.auth-form{display:flex;flex-direction:column;gap:1rem}.auth-input-group{display:flex;flex-direction:column}.auth-input{padding:.75rem 1rem;border:1px solid #d1d5db;border-radius:8px;font-size:1rem;transition:border-color .2s}.auth-input:focus{outline:none;border-color:#000}.auth-input:disabled{background:#f9fafb;cursor:not-allowed}.auth-error{color:#dc2626;font-size:.875rem;text-align:center;padding:.5rem;background:#fef2f2;border-radius:6px;border:1px solid #fecaca}.auth-submit-btn{padding:.75rem 1rem;background:#000;color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:500;cursor:pointer;transition:background-color .2s}.auth-submit-btn:hover{background:#333}.auth-submit-btn:disabled{background:#9ca3af;cursor:not-allowed}.auth-toggle{text-align:center;margin-top:1.5rem;font-size:.875rem;color:#6b7280}.auth-toggle-btn{background:none;border:none;color:#000;text-decoration:underline;cursor:pointer;font-weight:500}.auth-toggle-btn:hover{color:#333}@media (max-width: 768px){.container{padding:0 1rem}.hero h2{font-size:36px}.hero{padding:2rem 0}header{padding:.75rem 0}.logo-image{height:21px}.subscription-section{flex-direction:column;gap:.5rem;align-items:flex-end}.subscription-actions{gap:.5rem}.manage-subscription-btn,.signin-btn,.signout-btn{font-size:.75rem;padding:.375rem .75rem}.dropdown-menu{right:0;left:auto;min-width:160px;max-width:calc(100vw - 2rem);transform:translate(0)}.plan-text{display:none}.subscription-actions:before{content:"👑";font-size:1rem;display:inline-block;margin-right:.5rem;vertical-align:middle}}
