.landing-page{width:100%;overflow-x:hidden;background:#fff}.navbar{display:flex;justify-content:space-between;align-items:center;padding:1.5rem 5%;max-width:1400px;margin:0 auto}.logo{display:inline-flex;align-items:center;background:#fff;padding:.5rem 1.5rem;border-radius:12px;box-shadow:0 4px 12px #0000001a;transition:transform .2s ease}.logo:hover{transform:scale(1.05)}.logo-text{font-size:1.8rem;font-weight:700;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.nav-links{display:flex;gap:1.5rem;align-items:center}.nav-link{background:none;border:none;color:#4a5568;font-size:1rem;font-weight:500;cursor:pointer;padding:.5rem 1rem;transition:color .3s ease}.nav-link:hover{color:#667eea}.btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-weight:600;cursor:pointer;transition:transform .2s ease,box-shadow .3s ease}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 10px 25px #667eea4d}.hero-section{background:linear-gradient(180deg,#f7fafc,#fff);padding:2rem 5% 6rem}.hero-content{max-width:1200px;margin:0 auto;text-align:center;padding-top:3rem}.hero-title{font-size:3.5rem;font-weight:800;color:#1a202c;margin-bottom:1.5rem;line-height:1.2}.gradient-text{background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.hero-description{font-size:1.25rem;color:#4a5568;max-width:800px;margin:0 auto 2.5rem;line-height:1.7}.cta-button{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:1rem 2.5rem;border-radius:12px;font-size:1.1rem;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;gap:.5rem;transition:all .3s ease;box-shadow:0 10px 30px #667eea4d}.cta-button:hover{transform:translateY(-3px);box-shadow:0 15px 40px #667eea66}.arrow-icon{width:20px;height:20px;stroke-width:2.5}.hero-visual{margin-top:4rem;display:flex;justify-content:center}.translation-flow{display:flex;align-items:center;gap:2rem;background:#fff;padding:2rem;border-radius:16px;box-shadow:0 20px 60px #00000014;max-width:900px;width:100%}.source-text,.target-text{flex:1;padding:1.5rem;border-radius:12px;position:relative}.source-text{background:linear-gradient(135deg,#ffeaa7,#fdcb6e)}.target-text{background:linear-gradient(135deg,#a29bfe,#6c5ce7);color:#fff}.language-tag{position:absolute;top:-10px;left:12px;background:#fff;padding:.25rem .75rem;border-radius:20px;font-size:.75rem;font-weight:700;color:#4a5568;box-shadow:0 4px 12px #0000001a}.source-text p,.target-text p{font-size:1.1rem;margin:0;line-height:1.6}.source-text p{color:#2d3436}.magic-word{position:relative;border-bottom:2px dotted rgba(255,255,255,.7);cursor:pointer;transition:all .3s ease}.magic-icon{position:absolute;top:-15px;right:10px;width:30px;height:30px;background:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;animation:float 3s ease-in-out infinite}.magic-icon svg{width:18px;height:18px;stroke:#6c5ce7;stroke-width:2}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}.flow-arrow{display:flex;flex-direction:column;align-items:center;gap:.5rem}.flow-arrow svg{width:40px;height:40px;stroke:#667eea;stroke-width:2}.ai-badge{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;font-size:.75rem;font-weight:700;padding:.25rem .75rem;border-radius:20px;box-shadow:0 4px 12px #667eea4d}.demo-section{padding:6rem 5%;background:#f7fafc}.demo-container{max-width:1200px;margin:0 auto}.section-title{font-size:2.5rem;font-weight:700;color:#1a202c;text-align:center;margin-bottom:.5rem}.section-subtitle{font-size:1.25rem;color:#667eea;text-align:center;font-weight:600;margin-bottom:1rem}.demo-description{font-size:1.1rem;color:#4a5568;text-align:center;max-width:700px;margin:0 auto 1.5rem;line-height:1.7}.interactive-hint{display:flex;align-items:center;justify-content:center;gap:.75rem;background:linear-gradient(135deg,#667eea1a,#764ba21a);padding:1rem 2rem;border-radius:12px;margin:0 auto 2rem;max-width:600px;border:2px dashed #667eea;animation:pulse 2s ease-in-out infinite}.interactive-hint svg{width:24px;height:24px;stroke:#667eea;stroke-width:2;flex-shrink:0}.interactive-hint span{font-size:1rem;color:#667eea;font-weight:600}@keyframes pulse{0%,to{transform:scale(1);opacity:1}50%{transform:scale(1.02);opacity:.95}}.demo-showcase{background:#fff;border-radius:20px;padding:3rem;box-shadow:0 20px 60px #00000014}.demo-panels{display:flex;gap:2rem;align-items:center;margin-bottom:2rem}.demo-panel{flex:1;border-radius:12px;overflow:hidden;border:2px solid #e2e8f0}.panel-header{background:linear-gradient(135deg,#f7fafc,#e2e8f0);padding:1rem 1.5rem;display:flex;align-items:center;gap:.75rem;border-bottom:2px solid #e2e8f0}.flag{font-size:1.5rem}.lang-name{font-weight:600;color:#2d3748;font-size:.95rem}.panel-content{padding:2rem 1.5rem;background:#fff}.panel-content p{font-size:1.1rem;color:#2d3748;line-height:1.7;margin:0}.panel-content.interactive{position:relative;min-height:120px}.clickable-word{position:relative;color:#667eea;font-weight:600;border-bottom:2px dotted #667eea;cursor:pointer;padding:.2rem .5rem;border-radius:4px;transition:all .3s ease;display:inline-flex;align-items:center;gap:.25rem;-webkit-user-select:none;user-select:none;z-index:1}.clickable-word:hover{background:#667eea1a;transform:scale(1.05)}.clickable-word.active{background:#667eea26}.word-indicator{display:inline-flex;align-items:center}.word-indicator svg{width:14px;height:14px;stroke:#667eea;stroke-width:2.5}.alternatives-popup{position:relative;margin-top:1.5rem;background:#fff;border-radius:12px;box-shadow:0 15px 50px #00000040;border:3px solid #667eea;min-width:250px;width:100%;z-index:100;animation:popupAppear .25s ease-out;transform-origin:top center}@keyframes popupAppear{0%{opacity:0;transform:scale(.95) translateY(-5px)}to{opacity:1;transform:scale(1) translateY(0)}}.popup-header{padding:.75rem 1rem;border-bottom:1px solid #e2e8f0}.ai-suggest-label{font-size:.85rem;font-weight:600;color:#667eea;text-transform:uppercase;letter-spacing:.5px}.alternatives-list{padding:.5rem;display:flex;flex-direction:column;gap:.25rem}.alternative-option{background:#fff;border:none;padding:.75rem 1rem;border-radius:8px;text-align:left;cursor:pointer;transition:all .2s ease;font-size:1rem;color:#2d3748;display:flex;align-items:center;justify-content:space-between}.alternative-option:hover{background:#667eea1a;color:#667eea}.alternative-option.selected{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;font-weight:600}.check-icon{width:18px;height:18px;stroke-width:2.5}.demo-arrow-vertical{display:flex;flex-direction:column;align-items:center;gap:.5rem;padding:0 1rem}.arrow-line{width:2px;height:30px;background:linear-gradient(180deg,transparent 0%,#667eea 50%,transparent 100%)}.ai-icon{width:50px;height:50px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 20px #667eea4d}.ai-icon svg{width:28px;height:28px;stroke:#fff;stroke-width:2}.demo-caption{text-align:center;font-size:1rem;color:#4a5568;line-height:1.6;padding-top:1rem;border-top:1px solid #e2e8f0}.who-section{padding:6rem 5%;background:#fff}.who-container{max-width:1200px;margin:0 auto}.who-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:2rem;margin-top:3rem}.who-card{text-align:center;padding:2rem;border-radius:16px;background:#f7fafc;transition:all .3s ease}.who-card:hover{transform:translateY(-5px);box-shadow:0 15px 40px #00000014}.who-icon{width:70px;height:70px;margin:0 auto 1.5rem;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:16px;display:flex;align-items:center;justify-content:center}.who-icon svg{width:35px;height:35px;stroke:#fff;stroke-width:2}.who-card h3{font-size:1.25rem;color:#1a202c;margin-bottom:.75rem;font-weight:600}.who-card p{color:#4a5568;line-height:1.6;font-size:1rem}.benefits-section{padding:6rem 5%;background:linear-gradient(180deg,#f7fafc,#fff)}.benefits-container{max-width:1200px;margin:0 auto}.benefits-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:2rem;margin-top:3rem}.benefit-card{padding:2.5rem 2rem;background:#fff;border-radius:16px;border:2px solid #e2e8f0;transition:all .3s ease}.benefit-card:hover{border-color:#667eea;transform:translateY(-5px);box-shadow:0 15px 40px #667eea26}.benefit-icon{width:60px;height:60px;background:linear-gradient(135deg,#667eea1a,#764ba21a);border-radius:12px;display:flex;align-items:center;justify-content:center;margin-bottom:1.5rem}.benefit-icon svg{width:30px;height:30px;stroke:#667eea;stroke-width:2}.benefit-card h3{font-size:1.25rem;color:#1a202c;margin-bottom:.75rem;font-weight:600}.benefit-card p{color:#4a5568;line-height:1.6;font-size:1rem}.pricing-card{display:flex;flex-direction:column;position:relative}.pricing-btn{margin-top:1.5rem;padding:.875rem 1.5rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center;gap:.5rem;box-shadow:0 4px 12px #667eea4d}.pricing-btn:hover{transform:translateY(-2px);box-shadow:0 6px 20px #667eea66}.pricing-btn .btn-arrow{width:18px;height:18px;stroke-width:2.5;transition:transform .3s ease}.pricing-btn:hover .btn-arrow{transform:translate(3px)}.final-cta-section{padding:6rem 5%;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.final-cta-container{max-width:800px;margin:0 auto;text-align:center}.final-cta-container h2{font-size:2.5rem;margin-bottom:1rem;font-weight:700}.final-cta-container>p{font-size:1.25rem;margin-bottom:2.5rem;opacity:.95}.cta-button-large{background:#fff;color:#667eea;border:none;padding:1.25rem 3rem;border-radius:12px;font-size:1.2rem;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;gap:.75rem;transition:all .3s ease;box-shadow:0 10px 30px #0003}.cta-button-large:hover{transform:translateY(-3px);box-shadow:0 15px 40px #0000004d}.cta-note{margin-top:1.5rem;font-size:.95rem;opacity:.9}.footer{background:#1a202c;color:#fff;padding:3rem 5%}.footer-container{max-width:1200px;margin:0 auto;display:flex;flex-direction:column;align-items:center;gap:2rem}.footer-brand{text-align:center}.footer-brand .logo-text{font-size:1.5rem;margin-bottom:.5rem}.footer-brand p{color:#a0aec0;font-size:.95rem}.footer-links{display:flex;gap:2rem;flex-wrap:wrap;justify-content:center}.footer-links a{color:#a0aec0;text-decoration:none;font-size:.95rem;transition:color .3s ease}.footer-links a:hover{color:#667eea}.footer-bottom{text-align:center;padding-top:2rem;border-top:1px solid #2d3748;width:100%}.footer-bottom p{color:#718096;font-size:.9rem}@media (max-width: 768px){.hero-title{font-size:2.5rem}.hero-description{font-size:1.1rem}.translation-flow{flex-direction:column;gap:1.5rem}.flow-arrow svg{transform:rotate(90deg)}.demo-panels{flex-direction:column}.demo-arrow-vertical{flex-direction:row}.arrow-line{width:30px;height:2px;background:linear-gradient(90deg,transparent 0%,#667eea 50%,transparent 100%)}.who-grid,.benefits-grid{grid-template-columns:1fr}.nav-links{gap:.5rem}.nav-link{padding:.5rem;font-size:.9rem}.btn-primary{padding:.6rem 1rem;font-size:.9rem}}@media (max-width: 480px){.hero-title,.section-title{font-size:2rem}.cta-button,.cta-button-large{padding:1rem 2rem;font-size:1rem}.navbar{padding:1rem 3%}.hero-section,.demo-section,.who-section,.benefits-section,.final-cta-section{padding:3rem 3%}}.auth-container{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea,#764ba2);padding:20px;gap:30px}.auth-logo{display:inline-flex;align-items:center;justify-content:center;background:#fff;padding:.5rem 1.5rem;border-radius:12px;box-shadow:0 4px 12px #00000026;margin-bottom:1rem;transition:transform .2s ease}.auth-logo .logo-text{font-size:1.8rem;font-weight:700;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.auth-card{background:#fff;border-radius:12px;box-shadow:0 10px 40px #0000001a;padding:40px;width:100%;max-width:450px}.auth-title{font-size:28px;font-weight:700;color:#1a202c;margin-bottom:8px;text-align:center}.auth-subtitle{font-size:14px;color:#718096;margin-bottom:32px;text-align:center}.auth-form{display:flex;flex-direction:column;gap:20px}.form-group{display:flex;flex-direction:column;gap:8px}.form-label{font-size:14px;font-weight:600;color:#2d3748}.form-input{padding:12px 16px;border:2px solid #e2e8f0;border-radius:8px;font-size:14px;transition:all .2s;outline:none}.form-input:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.form-input.input-error{border-color:#f56565}.form-input.input-error:focus{border-color:#f56565;box-shadow:0 0 0 3px #f565651a}.error-message{font-size:13px;color:#f56565;margin-top:-4px}.alert{padding:12px 16px;border-radius:8px;font-size:14px;margin-bottom:20px}.alert-error{background-color:#fed7d7;color:#c53030;border:1px solid #fc8181}.alert-success{background-color:#c6f6d5;color:#2f855a;border:1px solid #9ae6b4}.btn{padding:12px 24px;border:none;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s;outline:none}.btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;margin-top:8px}.btn-primary:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.btn-primary:disabled{opacity:.6;cursor:not-allowed}.auth-footer{margin-top:24px;text-align:center}.auth-footer p{font-size:14px;color:#718096}.auth-link{color:#667eea;text-decoration:none;font-weight:600;transition:color .2s}.auth-link:hover{color:#764ba2;text-decoration:underline}@media (max-width: 480px){.auth-card{padding:30px 20px}.auth-title{font-size:24px}}.translation-container{width:100%;max-width:1400px;margin:0 auto;padding:20px}.translation-main{display:flex;flex-direction:column;gap:24px;background:#fff;padding:32px;border-radius:16px;box-shadow:0 4px 20px #00000014;min-height:500px}.language-selectors-row{display:grid;grid-template-columns:1fr auto 1fr;gap:16px;align-items:end;padding-bottom:16px;border-bottom:2px solid #e2e8f0}.language-selector-group{display:flex;flex-direction:column;gap:8px}.btn-swap{background:#fff;border:2px solid #e2e8f0;border-radius:12px;width:48px;height:48px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;outline:none;color:#4a5568;margin-bottom:0}.btn-swap:hover{background:#f7fafc;border-color:#4299e1;color:#4299e1;transform:rotate(180deg)}.btn-swap:active{transform:rotate(180deg) scale(.95)}.btn-swap:focus{border-color:#4299e1;box-shadow:0 0 0 3px #4299e133}.swap-icon{width:24px;height:24px;transition:transform .2s ease}.text-panels-row{display:grid;grid-template-columns:1fr auto 1fr;gap:24px;align-items:start;flex:1}.translation-panel{display:flex;flex-direction:column;height:100%;min-height:400px}.panel-label{font-size:14px;font-weight:600;color:#2d3748;text-transform:uppercase;letter-spacing:.5px}.language-selector{padding:10px 14px;border:2px solid #e2e8f0;border-radius:8px;font-size:15px;color:#2d3748;background:#fff;cursor:pointer;transition:all .2s ease;outline:none}.language-selector:hover:not(:disabled){border-color:#cbd5e0}.language-selector:focus{border-color:#4299e1;box-shadow:0 0 0 3px #4299e11a}.language-selector:disabled{background:#f7fafc;cursor:not-allowed;opacity:.6}.source-textarea{flex:1;padding:16px;border:2px solid #e2e8f0;border-radius:10px;font-size:15px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;line-height:1.6;color:#2d3748;resize:none;outline:none;transition:all .2s ease}.source-textarea:focus:not(:disabled){border-color:#4299e1;box-shadow:0 0 0 3px #4299e11a}.source-textarea:disabled{background:#f7fafc;cursor:not-allowed;color:#718096}.source-textarea::placeholder{color:#a0aec0}.translated-text{flex:1;padding:16px;border:2px solid #e2e8f0;border-radius:10px;font-size:15px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;line-height:1.6;color:#2d3748;overflow-y:auto;background:#f8fafb;cursor:default}.translated-text.has-content{background:#fff}.translated-text .placeholder{color:#a0aec0;font-style:italic}.translation-word{cursor:pointer;padding:2px 4px;border-radius:4px;transition:all .15s ease;display:inline-block;outline:none}.translation-word:hover{background:#bee3f8;color:#2c5282}.translation-word:focus{background:#90cdf4;color:#2c5282;box-shadow:0 0 0 2px #4299e14d}.translation-word:active{background:#63b3ed}.translation-center{display:flex;align-items:center;justify-content:center;padding:20px 0}.btn{padding:14px 32px;border:none;border-radius:10px;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s ease;outline:none;display:flex;align-items:center;gap:8px;white-space:nowrap}.btn:focus{box-shadow:0 0 0 3px #4299e14d}.btn-primary{background:linear-gradient(135deg,#4299e1,#3182ce);color:#fff;box-shadow:0 4px 12px #4299e14d}.btn-primary:hover:not(:disabled){background:linear-gradient(135deg,#3182ce,#2c5282);transform:translateY(-2px);box-shadow:0 6px 16px #4299e166}.btn-primary:active:not(:disabled){transform:translateY(0)}.btn-primary:disabled{background:#cbd5e0;cursor:not-allowed;box-shadow:none}.btn-secondary{background:#48bb78;color:#fff;box-shadow:0 4px 12px #48bb784d}.btn-secondary:hover{background:#38a169;transform:translateY(-2px);box-shadow:0 6px 16px #48bb7866}.btn-secondary:active{transform:translateY(0)}.spinner{width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.panel-footer{display:flex;justify-content:space-between;align-items:center;margin-top:12px;min-height:36px}.footer-buttons{display:flex;gap:8px;align-items:center}.footer-info{display:flex;flex-direction:column;align-items:flex-end;gap:4px}.btn-copy,.btn-clear{display:flex;align-items:center;gap:6px;padding:8px 16px;background:#f7fafc;border:1px solid #e2e8f0;border-radius:8px;color:#4a5568;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;outline:none}.btn-copy:hover:not(:disabled),.btn-clear:hover:not(:disabled){background:#edf2f7;border-color:#cbd5e0;color:#2d3748;transform:translateY(-1px);box-shadow:0 2px 8px #0000001a}.btn-clear:hover:not(:disabled){background:#fff5f5;border-color:#feb2b2;color:#c53030}.btn-copy:active:not(:disabled),.btn-clear:active:not(:disabled){transform:translateY(0)}.btn-copy:focus,.btn-clear:focus{border-color:#4299e1;box-shadow:0 0 0 3px #4299e11a}.btn-clear:focus{border-color:#fc8181;box-shadow:0 0 0 3px #f565651a}.btn-copy:disabled,.btn-clear:disabled{opacity:.5;cursor:not-allowed}.btn-copy .icon,.btn-clear .icon{width:16px;height:16px;stroke-width:2}.btn-copy:not(:disabled){animation:none}.input-hint,.output-hint{font-size:12px;color:#718096;font-style:italic;margin:0}.char-counter{font-size:13px;font-weight:600;color:#4a5568;margin:0;transition:color .2s ease}.char-counter-warning{color:#d69e2e}.char-counter-limit{color:#e53e3e}.error-message{margin-top:16px;padding:16px;background:#fff5f5;border:1px solid #fc8181;border-radius:8px;color:#c53030;font-size:14px;text-align:center}.alternative-popup{position:fixed;z-index:1000;background:#fff;border-radius:12px;box-shadow:0 10px 40px #00000026,0 0 0 1px #0000000d;min-width:250px;max-width:350px;transform:translate(-50%);animation:popupFadeIn .2s ease-out}@keyframes popupFadeIn{0%{opacity:0;transform:translate(-50%,-8px)}to{opacity:1;transform:translate(-50%)}}.popup-header{display:flex;justify-content:space-between;align-items:center;padding:16px;border-bottom:1px solid #e2e8f0}.popup-title{font-size:14px;font-weight:600;color:#2d3748}.popup-close{background:none;border:none;font-size:24px;color:#718096;cursor:pointer;padding:0;width:28px;height:28px;display:flex;align-items:center;justify-content:center;border-radius:6px;transition:all .15s ease;outline:none}.popup-close:hover:not(:disabled){background:#f7fafc;color:#2d3748}.popup-close:focus{box-shadow:0 0 0 2px #4299e14d}.popup-close:disabled{opacity:.5;cursor:not-allowed}.popup-content{padding:8px;max-height:300px;overflow-y:auto}.popup-loading,.popup-error,.popup-empty{padding:24px 16px;text-align:center;color:#718096;font-size:14px}.popup-loading{display:flex;flex-direction:column;align-items:center;gap:12px}.popup-loading .spinner{border-color:#4299e14d;border-top-color:#4299e1}.popup-error{color:#e53e3e}.suggestions-list{list-style:none;padding:0;margin:0}.suggestion-item{width:100%;padding:12px 16px;background:none;border:none;border-radius:8px;text-align:left;font-size:15px;color:#2d3748;cursor:pointer;transition:all .15s ease;outline:none;display:block}.suggestion-item:hover{background:#edf2f7;color:#1a202c}.suggestion-item:focus{background:#e2e8f0;box-shadow:0 0 0 2px #4299e14d}.suggestion-item:active{background:#cbd5e0}.translated-text::-webkit-scrollbar,.popup-content::-webkit-scrollbar{width:8px}.translated-text::-webkit-scrollbar-track,.popup-content::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.translated-text::-webkit-scrollbar-thumb,.popup-content::-webkit-scrollbar-thumb{background:#cbd5e0;border-radius:4px}.translated-text::-webkit-scrollbar-thumb:hover,.popup-content::-webkit-scrollbar-thumb:hover{background:#a0aec0}@media (max-width: 1024px){.translation-main{gap:20px;padding:24px}.language-selectors-row{grid-template-columns:1fr;gap:12px;align-items:stretch}.btn-swap{width:100%;height:48px;order:2}.btn-swap:hover{transform:none}.btn-swap:active{transform:scale(.98)}.language-selector-group:first-child{order:0}.language-selector-group:last-child{order:1}.text-panels-row{grid-template-columns:1fr;gap:20px}.translation-center{order:0;padding:0}.source-panel{order:1}.target-panel{order:2}.translation-panel{min-height:300px}.panel-footer{flex-direction:column;align-items:flex-start;gap:8px}.footer-buttons{width:100%;flex-direction:column;gap:8px}.footer-info{width:100%;align-items:flex-start}.btn-copy,.btn-clear{width:100%;justify-content:center}}@media (max-width: 640px){.translation-container{padding:12px}.translation-main{padding:16px;gap:16px}.btn{padding:12px 24px;font-size:15px}.alternative-popup{max-width:calc(100vw - 40px)}}.translation-word:focus-visible,.btn:focus-visible,.btn-copy:focus-visible,.btn-clear:focus-visible,.btn-swap:focus-visible,.language-selector:focus-visible,.source-textarea:focus-visible,.popup-close:focus-visible,.suggestion-item:focus-visible{outline:2px solid #4299e1;outline-offset:2px}@media (prefers-reduced-motion: reduce){.translation-word,.btn,.btn-copy,.btn-clear,.btn-swap,.suggestion-item,.spinner,.swap-icon{transition:none;animation:none}.alternative-popup{animation:none}.btn-swap:hover,.btn-copy:hover,.btn-clear:hover{transform:none}}.dashboard-container{min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2);padding:20px}.dashboard-header{display:flex;justify-content:space-between;align-items:center;max-width:1400px;margin:0 auto 24px;padding:20px 32px;background:#fffffff2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:16px;box-shadow:0 8px 32px #0000001a}.dashboard-logo{display:inline-flex;align-items:center;background:#fff;padding:.5rem 1.5rem;border-radius:12px;box-shadow:0 4px 12px #0000001a;transition:transform .2s ease;margin-bottom:4px}.dashboard-logo:hover{transform:scale(1.05)}.dashboard-logo .logo-text{font-size:1.8rem;font-weight:700;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.header-subtitle{font-size:14px;color:#718096;margin:0;font-weight:500}.header-actions{display:flex;align-items:center;gap:16px}.user-badge{display:flex;flex-direction:column;align-items:flex-end;gap:2px;padding-right:16px;border-right:1px solid #e2e8f0}.user-name{font-size:14px;font-weight:600;color:#2d3748}.user-plan{font-size:12px;color:#718096;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.dashboard-content{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px}.user-info-card,.welcome-card{background:#fff;padding:30px;border-radius:12px;box-shadow:0 2px 8px #0000000d}.user-info-card h2,.welcome-card h2{font-size:20px;color:#1a202c;margin-bottom:20px}.user-details{display:flex;flex-direction:column;gap:12px}.user-details p{font-size:14px;color:#4a5568;margin:0}.user-details strong{color:#2d3748;margin-right:8px}.welcome-card p{font-size:14px;color:#4a5568;line-height:1.6}.btn-pricing{padding:10px 20px;border:2px solid #667eea;border-radius:8px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease;outline:none}.btn-pricing:hover{transform:translateY(-2px);box-shadow:0 4px 12px #667eea4d}.btn-pricing:focus{box-shadow:0 0 0 3px #667eea4d}.btn-logout{padding:10px 20px;border:2px solid #e2e8f0;border-radius:8px;background:#fff;color:#4a5568;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease;outline:none}.btn-logout:hover{border-color:#cbd5e0;background:#f7fafc;color:#2d3748}.btn-logout:focus{box-shadow:0 0 0 3px #4299e133}.btn-secondary{background:#e2e8f0;color:#2d3748}.btn-secondary:hover{background:#cbd5e0}.loading,.error{text-align:center;padding:40px;font-size:16px;color:#4a5568}.error{color:#f56565}@media (max-width: 768px){.dashboard-header{flex-direction:column;gap:16px;padding:16px 20px}.header-content{text-align:center}.dashboard-logo{margin-bottom:8px}.dashboard-logo .logo-text{font-size:1.5rem}.header-actions{width:100%;flex-direction:column;gap:12px}.user-badge{align-items:center;padding-right:0;border-right:none;padding-bottom:12px;border-bottom:1px solid #e2e8f0}}.pricing-container{min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2);padding:2rem 1rem}.pricing-logo{text-align:center;padding:1.5rem 0;display:flex;justify-content:center}.pricing-logo>div{display:inline-flex;align-items:center;background:#fff;padding:.5rem 1.5rem;border-radius:12px;box-shadow:0 4px 12px #00000026;transition:transform .2s ease}.pricing-logo .logo-text{font-size:1.8rem;font-weight:700;background:linear-gradient(135deg,#fff,#b6b6b6);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.pricing-header{text-align:center;color:#fff;margin-bottom:3rem;position:relative}.pricing-header h1{font-size:3rem;font-weight:700;margin-bottom:.5rem;text-shadow:0 2px 4px rgba(0,0,0,.1)}.pricing-subtitle{font-size:1.25rem;opacity:.95;margin-bottom:1.5rem}.btn-back,.btn-login-link{background:#fff3;color:#fff;border:2px solid white;padding:.75rem 1.5rem;border-radius:8px;font-size:1rem;cursor:pointer;transition:all .3s ease;margin-top:1rem}.btn-back:hover,.btn-login-link:hover{background:#ffffff4d;transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.plans-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:2rem;max-width:1200px;margin:0 auto 4rem;padding:0 1rem}.plan-card{background:#fff;border-radius:16px;padding:2rem;box-shadow:0 10px 30px #0000001a;transition:transform .3s ease,box-shadow .3s ease;display:flex;flex-direction:column;position:relative;overflow:hidden}.plan-card:hover{transform:translateY(-8px);box-shadow:0 15px 40px #0003}.plan-highlighted{border:3px solid #667eea;transform:scale(1.05)}.plan-highlighted:hover{transform:scale(1.05) translateY(-8px)}.plan-current{border:3px solid #10b981}.plan-badge{position:absolute;top:1rem;right:1rem;background:#667eea;color:#fff;padding:.5rem 1rem;border-radius:20px;font-size:.875rem;font-weight:600}.plan-badge.current{background:#10b981}.plan-header{text-align:center;margin-bottom:2rem;padding-bottom:2rem;border-bottom:2px solid #f3f4f6}.plan-name{font-size:2rem;font-weight:700;color:#1f2937;margin-bottom:1rem}.plan-price{margin-bottom:1rem}.price-amount{font-size:3rem;font-weight:700;color:#667eea}.price-period{font-size:1rem;color:#6b7280;margin-left:.5rem}.plan-description{color:#6b7280;font-size:1rem}.plan-features{flex:1;margin-bottom:2rem}.plan-features h3{font-size:1.125rem;font-weight:600;color:#1f2937;margin-bottom:1rem}.plan-features ul{list-style:none;padding:0;margin:0}.plan-features li{display:flex;align-items:center;padding:.75rem 0;color:#4b5563;font-size:.95rem}.feature-icon{width:1.25rem;height:1.25rem;color:#10b981;margin-right:.75rem;flex-shrink:0}.plan-action{margin-top:auto}.btn-purchase{width:100%;padding:1rem;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;border:none}.btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 6px 20px #667eea66}.btn-secondary{background:#f3f4f6;color:#1f2937;border:2px solid #e5e7eb}.btn-secondary:hover{background:#e5e7eb;transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.btn-pro-max{background:linear-gradient(135deg,#f59e0b,#ef4444,#ec4899);color:#fff;font-weight:700;border:none;position:relative;overflow:hidden;box-shadow:0 4px 15px #ef444466;animation:pulse-glow 2s ease-in-out infinite}.btn-pro-max:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.3),transparent);transition:left .5s}.btn-pro-max:hover:before{left:100%}.btn-pro-max:hover{transform:translateY(-2px) scale(1.02);box-shadow:0 8px 25px #ef444499;animation:none}@keyframes pulse-glow{0%,to{box-shadow:0 4px 15px #ef444466}50%{box-shadow:0 4px 25px #ef4444b3}}.btn-current{width:100%;padding:1rem;border-radius:8px;font-size:1rem;font-weight:600;background:#10b981;color:#fff;border:none;cursor:not-allowed;opacity:.8}.pricing-faq{max-width:1200px;margin:0 auto 4rem;padding:0 1rem}.pricing-faq h2{text-align:center;color:#fff;font-size:2.5rem;font-weight:700;margin-bottom:2rem}.faq-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem}.faq-item{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 4px 12px #0000001a}.faq-item h3{font-size:1.125rem;font-weight:600;color:#1f2937;margin-bottom:.75rem}.faq-item p{color:#6b7280;line-height:1.6;margin:0}.pricing-footer{text-align:center;color:#fff;max-width:800px;margin:0 auto;padding:2rem 1rem;opacity:.95}.pricing-footer p{margin-bottom:.5rem;line-height:1.8}.pricing-footer a{color:#fff;font-weight:600;text-decoration:underline}.pricing-footer a:hover{opacity:.8}@media (max-width: 768px){.pricing-header h1{font-size:2rem}.pricing-subtitle{font-size:1rem}.plans-grid{grid-template-columns:1fr;gap:1.5rem}.plan-highlighted{transform:scale(1)}.plan-highlighted:hover{transform:translateY(-8px)}.plan-name{font-size:1.5rem}.price-amount{font-size:2.5rem}.pricing-faq h2{font-size:2rem}.faq-grid{grid-template-columns:1fr}}.legal-container{min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2);padding:2rem;display:flex;flex-direction:column}.legal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:3rem;max-width:900px;width:100%;margin-left:auto;margin-right:auto}.legal-logo{cursor:pointer;transition:transform .3s ease}.legal-logo:hover{transform:scale(1.05)}.logo-text{font-size:2rem;font-weight:700;color:#fff;margin:0;text-shadow:2px 2px 4px rgba(0,0,0,.2)}.btn{padding:.75rem 1.5rem;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;text-decoration:none;display:inline-block}.btn-back{background:#fff3;color:#fff;border:2px solid white;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.btn-back:hover{background:#fff;color:#667eea;transform:translateY(-2px);box-shadow:0 8px 20px #0003}.legal-content{flex:1;max-width:900px;width:100%;margin:0 auto;background:#fff;border-radius:16px;padding:3rem;box-shadow:0 20px 60px #0000004d;margin-bottom:2rem;animation:fadeInUp .6s ease}.legal-title{font-size:2.5rem;font-weight:700;color:#333;margin-bottom:2rem;padding-bottom:1rem;border-bottom:3px solid #667eea}.legal-text{font-size:1.1rem;line-height:1.8;color:#555}.legal-text p{margin-bottom:1.5rem}.legal-text h2{font-size:1.8rem;font-weight:600;color:#333;margin-top:2.5rem;margin-bottom:1rem}.legal-text h3{font-size:1.4rem;font-weight:600;color:#444;margin-top:2rem;margin-bottom:.8rem}.legal-text ul,.legal-text ol{margin-left:2rem;margin-bottom:1.5rem}.legal-text li{margin-bottom:.5rem}.legal-text strong{color:#333;font-weight:600}.legal-text a{color:#667eea;text-decoration:none;font-weight:600;transition:color .3s ease}.legal-text a:hover{color:#764ba2;text-decoration:underline}.legal-footer{max-width:900px;width:100%;margin:0 auto;text-align:center;color:#fff;padding-top:1rem}.legal-footer p{margin-bottom:1rem;font-size:.9rem;opacity:.9}.legal-links{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:.5rem}.legal-links a{color:#fff;text-decoration:none;font-weight:500;transition:opacity .3s ease}.legal-links a:hover{opacity:.8;text-decoration:underline}.legal-links .separator{color:#fff;opacity:.6;margin:0 .5rem}@keyframes fadeInUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}@media (max-width: 768px){.legal-container{padding:1rem}.legal-header{flex-direction:column;gap:1rem;margin-bottom:2rem}.legal-content{padding:2rem 1.5rem}.legal-title{font-size:2rem}.legal-text{font-size:1rem}.legal-text h2{font-size:1.5rem}.legal-text h3{font-size:1.2rem}.logo-text{font-size:1.5rem}.legal-links{flex-direction:column;gap:.8rem}.legal-links .separator{display:none}}@media (max-width: 480px){.legal-content{padding:1.5rem 1rem}.legal-title{font-size:1.75rem}.btn{padding:.6rem 1.2rem;font-size:.9rem}}*{margin:0;padding:0;box-sizing:border-box}body{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}.app{min-height:100vh}.text-center{text-align:center}.mt-1{margin-top:8px}.mt-2{margin-top:16px}.mt-3{margin-top:24px}.mb-1{margin-bottom:8px}.mb-2{margin-bottom:16px}.mb-3{margin-bottom:24px}
