*{margin:0;padding:0;box-sizing:border-box}body{font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;background:#0a0a0a;color:#fff;min-height:100vh;overflow-x:hidden}.bg-gradient{position:fixed;top:0;left:0;right:0;bottom:0;background:radial-gradient(circle at 20% 50%,rgb(120 119 198 / .15),transparent 50%),radial-gradient(circle at 80% 80%,rgb(255 75 145 / .15),transparent 50%),radial-gradient(circle at 40% 90%,rgb(59 130 246 / .15),transparent 50%);z-index:0;pointer-events:none}.container{position:relative;z-index:1;max-width:1400px;margin:0 auto;padding:20px}header{display:flex;justify-content:space-between;align-items:center;padding:20px 0;margin-bottom:40px}.logo{font-size:24px;font-weight:700;background:linear-gradient(135deg,#667eea 0%,#764ba2 50%,#f093fb 100%);-webkit-background-clip:text;-webkit-text-fill-color:#fff0;background-clip:text}.auth-section{display:flex;gap:15px;align-items:center}.user-info{display:none;align-items:center;gap:10px;padding:8px 16px;background:rgb(255 255 255 / .05);border-radius:20px;border:1px solid rgb(255 255 255 / .1)}.user-avatar{width:32px;height:32px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2)}.btn{padding:12px 24px;border-radius:12px;border:none;font-weight:600;cursor:pointer;transition:all 0.3s ease;font-size:14px}.btn-primary{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;box-shadow:0 4px 15px rgb(102 126 234 / .4)}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgb(102 126 234 / .6)}.btn-secondary{background:rgb(255 255 255 / .1);color:#fff;border:1px solid rgb(255 255 255 / .2)}.btn-secondary:hover{background:rgb(255 255 255 / .15)}.main-content{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin-top:30px}.tool-selector{display:flex;gap:10px;margin-bottom:30px;padding:8px;background:rgb(255 255 255 / .05);border-radius:16px;backdrop-filter:blur(10px)}.tool-btn{flex:1;padding:12px 20px;background:#fff0;color:rgb(255 255 255 / .6);border:none;border-radius:12px;cursor:pointer;transition:all 0.3s ease;font-weight:600}.tool-btn.active{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;box-shadow:0 4px 15px rgb(102 126 234 / .4)}.tool-btn:hover:not(.active){background:rgb(255 255 255 / .1);color:rgb(255 255 255 / .9)}.card{background:rgb(255 255 255 / .05);border-radius:20px;padding:30px;backdrop-filter:blur(10px);border:1px solid rgb(255 255 255 / .1)}.card h2{font-size:24px;margin-bottom:20px;background:linear-gradient(135deg,#ffffff 0%,rgb(255 255 255 / .7) 100%);-webkit-background-clip:text;-webkit-text-fill-color:#fff0;background-clip:text}textarea{width:100%;min-height:200px;padding:16px;background:rgb(0 0 0 / .3);border:1px solid rgb(255 255 255 / .1);border-radius:12px;color:#fff;font-size:16px;font-family:inherit;resize:vertical;transition:all 0.3s ease}textarea:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px rgb(102 126 234 / .2)}textarea::placeholder{color:rgb(255 255 255 / .4)}.char-count{text-align:right;margin-top:8px;font-size:14px;color:rgb(255 255 255 / .5)}.char-count.warning{color:#f59e0b}.char-count.error{color:#ef4444}.options{display:grid;gap:15px;margin-top:20px}.option{display:flex;align-items:center;gap:10px}.option input[type="checkbox"]{width:20px;height:20px;cursor:pointer}.option label{cursor:pointer;user-select:none}.generate-btn{width:100%;padding:16px;margin-top:20px;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;border:none;border-radius:12px;font-size:16px;font-weight:600;cursor:pointer;transition:all 0.3s ease}.generate-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 25px rgb(102 126 234 / .5)}.generate-btn:disabled{opacity:.5;cursor:not-allowed}.output-section{position:relative}.output-content{background:rgb(0 0 0 / .3);border:1px solid rgb(255 255 255 / .1);border-radius:12px;padding:20px;min-height:200px;white-space:pre-wrap;word-wrap:break-word;line-height:1.6}.output-placeholder{color:rgb(255 255 255 / .3);text-align:center;padding:40px 20px}.score-badges{display:flex;gap:10px;flex-wrap:wrap;margin-top:15px}.score-badge{padding:6px 12px;border-radius:8px;font-size:13px;font-weight:600;display:flex;align-items:center;gap:6px}.score-badge.high{background:rgb(34 197 94 / .2);color:#4ade80;border:1px solid rgb(34 197 94 / .3)}.score-badge.medium{background:rgb(234 179 8 / .2);color:#fbbf24;border:1px solid rgb(234 179 8 / .3)}.score-badge.low{background:rgb(239 68 68 / .2);color:#f87171;border:1px solid rgb(239 68 68 / .3)}.action-buttons{display:flex;gap:10px;margin-top:20px}.action-buttons button{flex:1}.loading{display:flex;align-items:center;justify-content:center;gap:8px;color:rgb(255 255 255 / .6)}.loading-spinner{width:20px;height:20px;border:2px solid rgb(255 255 255 / .2);border-top-color:#667eea;border-radius:50%;animation:spin 0.8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.upgrade-banner{background:linear-gradient(135deg,rgb(102 126 234 / .2) 0%,rgb(118 75 162 / .2) 100%);border:1px solid rgb(102 126 234 / .3);border-radius:16px;padding:20px;margin-top:30px;text-align:center}.upgrade-banner h3{margin-bottom:10px;font-size:20px}.upgrade-banner p{color:rgb(255 255 255 / .7);margin-bottom:15px}.usage-indicator{display:flex;align-items:center;gap:10px;padding:12px 16px;background:rgb(255 255 255 / .05);border-radius:12px;border:1px solid rgb(255 255 255 / .1);font-size:14px}.usage-bar{flex:1;height:6px;background:rgb(255 255 255 / .1);border-radius:3px;overflow:hidden;min-width:100px}.usage-bar-fill{height:100%;background:linear-gradient(90deg,#667eea,#764ba2);transition:width 0.3s ease}@media (max-width:1024px){.main-content{grid-template-columns:1fr}}.toast{position:fixed;bottom:30px;right:30px;padding:16px 24px;background:rgb(0 0 0 / .9);border:1px solid rgb(255 255 255 / .2);border-radius:12px;color:#fff;z-index:1000;animation:slideIn 0.3s ease}@keyframes slideIn{from{transform:translateX(400px);opacity:0}to{transform:translateX(0);opacity:1}}.tool-section{display:none}.tool-section.active{display:block}.modal{position:fixed;top:0;left:0;right:0;bottom:0;background:rgb(0 0 0 / .85);display:flex;align-items:center;justify-content:center;z-index:9999;padding:20px;backdrop-filter:blur(10px)}.modal-content{background:linear-gradient(135deg,rgb(26 26 26 / .95) 0%,rgb(20 20 20 / .95) 100%);border-radius:24px;padding:40px;max-width:500px;width:100%;border:1px solid rgb(255 255 255 / .1);box-shadow:0 20px 60px rgb(0 0 0 / .5);max-height:90vh;overflow-y:auto}.user-avatar{width:32px;height:32px;border-radius:50%;object-fit:cover}@media (max-width:768px){.container{padding:10px}header{flex-direction:column;gap:15px;padding:15px 0}header>div:first-child{flex-direction:column;text-align:center}header img{height:50px!important;width:50px!important}.logo{font-size:18px;text-align:center}.auth-section{flex-direction:column;width:100%;gap:10px}.usage-indicator{width:100%;justify-content:center}.btn{width:100%;padding:10px 16px}.tool-selector{flex-direction:column;gap:8px}.tool-btn{width:100%;padding:10px 15px;font-size:14px}.main-content{grid-template-columns:1fr;gap:20px}.card{padding:20px}h1,h2{font-size:20px}textarea{min-height:150px;font-size:14px}.modal-content{padding:20px;max-height:85vh}.modal-content h2{font-size:24px}.tutorial-image-placeholder{height:200px!important}.modal-content[style*="900px"]{max-width:95%!important}.modal-content>div[style*="grid-template-columns"]{grid-template-columns:1fr!important}.upgrade-banner{padding:15px}.upgrade-banner h3{font-size:18px}}@media (max-width:480px){.logo{font-size:16px}.card{padding:15px}.btn{font-size:13px;padding:8px 12px}.score-badges{flex-direction:column}.action-buttons{flex-direction:column}}#googleModal .g_id_signin{display:flex!important;justify-content:center!important;margin:0 auto!important}#g_id_onload{display:flex!important;justify-content:center!important}.modal-content>div:has(.g_id_signin){display:flex;justify-content:center;align-items:center;flex-direction:column}@media (min-width: 768px){.tool-btn{width: auto;min-width: 150px;}}