body{font-family:Times New Roman,Arial,sans-serif;background:#f8fafc;color:#0f172a}a{text-decoration:none}.landing{min-height:100vh;background:radial-gradient(circle at top right,#eef4ff 0,#f8fafc 38%,#f8fafc)}.landingNav{position:sticky;top:0;z-index:50;max-width:1180px;margin:auto;padding:18px 24px;display:flex;justify-content:space-between;align-items:center;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#f8fafcb8}.navLeft{display:flex;align-items:center;gap:12px}.landingLogo{width:54px;height:auto}.brandTitle{font-size:22px;font-weight:800}.brandMini{font-size:12px;color:#64748b}.navRight{display:flex;gap:12px}.navGhost,.navPrimary{padding:12px 18px;border-radius:16px;font-weight:700}.navGhost{background:#fff;color:#0f172a;border:1px solid #e2e8f0}.navPrimary{background:linear-gradient(135deg,#2563eb,#4f46e5);color:#fff}.hero{max-width:920px;margin:0 auto;text-align:center;padding:80px 24px 60px}.heroBadge{display:inline-block;padding:10px 14px;border-radius:999px;background:#dbeafe;color:#1d4ed8;font-weight:700;font-size:14px}.hero h1{margin-top:26px;font-size:64px;line-height:1.1;font-weight:800}.hero h1 span{color:#2563eb}.hero p{margin:22px auto 0;max-width:760px;font-size:22px;line-height:1.6;color:#475569}.heroActions{margin-top:34px;display:flex;justify-content:center;gap:14px}.heroPrimary,.heroGhost{padding:16px 24px;border-radius:18px;font-weight:700}.heroPrimary{background:linear-gradient(135deg,#2563eb,#4f46e5);color:#fff}.heroGhost{background:#fff;border:1px solid #e2e8f0;color:#0f172a}.features{max-width:1180px;margin:auto;padding:60px 24px 100px}.sectionTitle{text-align:center;font-size:42px;font-weight:800;margin-bottom:30px}.featureGrid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.featureCard{background:#fff;border:1px solid #e2e8f0;border-radius:24px;padding:28px;box-shadow:0 16px 40px #0f172a0a}.featureCard .icon{font-size:34px}.featureCard h3{margin-top:18px;font-size:28px}.featureCard p{margin-top:10px;font-size:18px;line-height:1.7;color:#64748b}.pricing{max-width:1180px;margin:auto;padding:0 24px 100px}.priceGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.priceCard{background:#fff;border:1px solid #e2e8f0;border-radius:24px;padding:28px;box-shadow:0 16px 40px #0f172a0a}.priceCard h3{font-size:28px}.priceValue{margin-top:14px;font-size:42px;font-weight:800}.priceSub{color:#64748b;margin-top:6px}.priceBtn{margin-top:22px;display:inline-block;padding:14px 18px;border-radius:16px;background:linear-gradient(135deg,#2563eb,#4f46e5);color:#fff;font-weight:700}.cta{max-width:980px;margin:0 auto 100px;padding:42px 28px;background:linear-gradient(135deg,#2563eb,#4f46e5);border-radius:28px;text-align:center;color:#fff}.cta h2{font-size:46px}.cta p{margin-top:12px;font-size:20px;opacity:.92}.cta a{margin-top:22px;display:inline-block;padding:16px 24px;border-radius:18px;background:#fff;color:#1d4ed8;font-weight:800}.footer{text-align:center;padding:28px;color:#64748b}@media (max-width:900px){.hero h1{font-size:46px}.hero p{font-size:18px}.featureGrid,.priceGrid{grid-template-columns:1fr}.landingNav{flex-direction:column;gap:16px}.heroActions,.navRight{flex-direction:column;width:100%}.heroPrimary,.heroGhost,.navPrimary,.navGhost{width:100%;text-align:center}.cta h2{font-size:34px}}.heroPro{max-width:1180px;margin:0 auto;padding:72px 24px 80px;display:grid;grid-template-columns:1.1fr .9fr;gap:42px;align-items:center}.heroLeft{text-align:left}.heroLeft h1{margin-top:22px;font-size:64px;line-height:1.08;font-weight:800;letter-spacing:-1px}.heroLeft h1 span{color:#2563eb}.heroLeft p{margin-top:22px;font-size:22px;line-height:1.65;color:#475569;max-width:640px}.heroActions{margin-top:34px;display:flex;gap:14px;flex-wrap:wrap}.trustRow{margin-top:22px;display:flex;gap:14px;flex-wrap:wrap}.trustRow span{padding:10px 14px;border-radius:999px;background:#fff;border:1px solid #e2e8f0;color:#334155;font-size:14px;font-weight:700}.heroRight{display:flex;justify-content:center}.appMockup{width:100%;max-width:500px;background:#fff;border:1px solid #e2e8f0;border-radius:28px;box-shadow:0 30px 70px #0f172a14;overflow:hidden}.mockTop{height:54px;display:flex;align-items:center;gap:8px;padding:0 18px;border-bottom:1px solid #eef2f7;background:#f8fafc}.mockTop span{width:12px;height:12px;border-radius:50%;background:#cbd5e1}.mockChat{padding:22px;display:flex;flex-direction:column;gap:14px}.msg{padding:14px 16px;border-radius:18px;font-size:16px;line-height:1.5;max-width:86%}.msg.ai{background:#f8fafc;border:1px solid #e2e8f0;color:#0f172a}.msg.user{margin-left:auto;background:linear-gradient(135deg,#2563eb,#4f46e5);color:#fff}@media (max-width:980px){.heroPro{grid-template-columns:1fr;gap:28px;padding:52px 24px 64px}.heroLeft{text-align:center}.heroLeft p{margin-left:auto;margin-right:auto}.heroActions,.trustRow{justify-content:center}.heroLeft h1{font-size:48px}}@media (max-width:640px){.heroLeft h1{font-size:38px}.heroLeft p{font-size:18px}.heroActions a{width:100%;text-align:center}.appMockup{border-radius:22px}}.heroRight{position:relative;display:flex;justify-content:center;align-items:center}.floatingTag{position:absolute;padding:10px 14px;border-radius:999px;background:#fff;border:1px solid #e2e8f0;box-shadow:0 14px 34px #0f172a14;font-size:14px;font-weight:700;color:#0f172a;animation:floatY 4s ease-in-out infinite;z-index:3}.tag1{top:20px;left:-10px}.tag2{top:120px;right:-12px;animation-delay:.6s}.tag3{bottom:36px;left:8px;animation-delay:1.2s}@keyframes floatY{0%,to{transform:translateY(0)}50%{transform:translateY(-8px)}}.appMockup{position:relative;z-index:2}.mockStats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:18px 20px 22px;border-top:1px solid #eef2f7;background:#fff}.mockStats div{text-align:center}.mockStats strong{display:block;font-size:22px;font-weight:800;color:#2563eb}.mockStats span{display:block;margin-top:4px;font-size:13px;color:#64748b}.heroPrimary{box-shadow:0 18px 40px #2563eb3d}.heroPrimary:hover{transform:translateY(-2px);box-shadow:0 24px 50px #2563eb4d}.heroGhost:hover{transform:translateY(-2px);border-color:#bfdbfe}@media (max-width:980px){.floatingTag{display:none}.mockStats strong{font-size:20px}}@media (max-width:640px){.mockStats{grid-template-columns:1fr;gap:14px}}.heroUltra{position:relative;display:grid;grid-template-columns:1.1fr 1fr;gap:48px;align-items:center;padding:90px 40px;overflow:hidden}.heroGlow{position:absolute;width:520px;height:520px;right:-120px;top:-120px;border-radius:999px;background:radial-gradient(circle,rgba(59,130,246,.22),transparent 65%);pointer-events:none}.heroTitleBig{font-size:64px;line-height:1.05;font-weight:900;color:#0f172a;margin:18px 0;letter-spacing:-1.6px}.heroTitleBig span{color:#2563eb}.heroDescBig{font-size:20px;line-height:1.7;color:#475569;max-width:640px}.heroTrust{display:flex;gap:16px;margin-top:28px;flex-wrap:wrap}.heroTrust div{min-width:120px;background:#fff;padding:16px 18px;border-radius:18px;box-shadow:0 12px 30px #0000000f}.heroTrust strong{display:block;font-size:22px;color:#111827}.heroTrust span{font-size:13px;color:#64748b}.heroCardMain{position:relative;background:#fff;border-radius:28px;padding:18px;box-shadow:0 20px 60px #00000017}.heroMessages{display:flex;flex-direction:column;gap:14px;margin-top:16px}.heroMsg{padding:14px 16px;border-radius:18px;font-size:15px;line-height:1.55;max-width:86%}.heroMsg.user{margin-left:auto;background:#eff6ff;color:#1e3a8a}.heroMsg.ai{background:#f8fafc;color:#111827}.floatCard{position:absolute;background:#fff;border-radius:16px;padding:10px 14px;font-size:14px;font-weight:700;box-shadow:0 10px 30px #00000014}.heroRight{position:relative}.floatCard.one{top:-8px;right:20px}.floatCard.two{bottom:90px;left:-12px}.floatCard.three{bottom:-10px;right:36px}@media (max-width:1100px){.heroUltra{grid-template-columns:1fr;padding:70px 24px}.heroTitleBig{font-size:52px}}@media (max-width:700px){.heroTitleBig{font-size:38px;line-height:1.12}.heroDescBig{font-size:16px}.heroTrust{display:grid;grid-template-columns:1fr 1fr}.floatCard{display:none}.heroUltra{gap:26px;padding:48px 18px}}.proofSection,.faqSection{padding:84px 24px;max-width:1200px;margin:0 auto}.proofGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:30px}.proofCard{background:#fff;border:1px solid #eef2f7;border-radius:24px;padding:26px;box-shadow:0 14px 36px #0000000d;transition:.25s ease}.proofCard:hover{transform:translateY(-4px);box-shadow:0 18px 44px #00000014}.proofCard p{margin:14px 0 18px;font-size:16px;line-height:1.7;color:#334155}.proofCard span{font-size:14px;font-weight:700;color:#64748b}.faqWrap{max-width:920px;margin:30px auto 0;display:grid;gap:16px}.faqItem{background:#fff;border:1px solid #eef2f7;border-radius:22px;padding:24px;box-shadow:0 10px 28px #0000000a}.faqItem h4{margin:0 0 10px;font-size:18px;color:#0f172a}.faqItem p{margin:0;color:#475569;line-height:1.7;font-size:15px}@media (max-width:900px){.proofGrid{grid-template-columns:1fr}.proofSection,.faqSection{padding:60px 18px}}.cta button,.cta a{display:inline-flex;align-items:center;justify-content:center;margin-top:18px;padding:14px 28px;min-height:52px;border:none;outline:none;cursor:pointer;text-decoration:none;background:#fff;color:#1d4ed8;font-size:16px;font-weight:800;border-radius:999px;box-shadow:0 14px 34px #00000024;transition:transform .2s ease,box-shadow .2s ease,opacity .2s ease}.cta button:hover,.cta a:hover{transform:translateY(-2px);box-shadow:0 18px 40px #0000002e}.cta button:active,.cta a:active{transform:translateY(0)}.cta button{font-family:inherit}body{font-family:Inter,Arial,sans-serif;background:#fff;color:#111}.authWrap{min-height:100vh;display:flex;justify-content:center;align-items:center;padding:24px}.authBox{width:100%;max-width:420px;border:1px solid #ececec;border-radius:24px;padding:34px;background:#fff}.authBox h1{font-size:42px;margin-bottom:10px}.authBox p{color:#777;margin-bottom:24px}.authBox input{width:100%;height:50px;border:1px solid #e6e6e6;border-radius:14px;padding:0 16px;margin-bottom:12px}.authBox button{width:100%;height:50px;border:none;border-radius:14px;background:#f2f2f2}.authBox span{display:block;text-align:center;margin-top:14px;color:#666}.errorBox{background:#fff4f4;color:#d11;padding:12px;border-radius:12px;margin-bottom:12px}*{margin:0;padding:0;box-sizing:border-box}html,body,#root{height:100%}body{font-family:Times New Roman,Inter,Arial,sans-serif;background:#f8fafc;color:#0f172a}.app{display:flex;height:100dvh;overflow:hidden}.main{flex:1;display:flex;flex-direction:column;background:radial-gradient(circle at top right,#eef4ff 0,#f8fafc 40%,#f8fafc)}.sidebar{width:290px;min-width:290px;height:100%;display:flex;flex-direction:column;background:#ffffffe0;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-right:1px solid rgba(226,232,240,.9)}.sidebar-top{padding:2px}.brandWrap{display:flex;align-items:center;gap:12px;margin-bottom:18px}.brandLogo{width:42px;height:42px;object-fit:contain}.brandName{font-size:18px;font-weight:800;color:#0f172a}.brandSub{font-size:12px;color:#64748b;margin-top:2px}.sidebar-body{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden;padding:0 14px}.history{flex:1;overflow:auto;padding-right:4px}.history::-webkit-scrollbar{width:6px}.history::-webkit-scrollbar-thumb{background:#dbe3ef;border-radius:10px}button{border:none;cursor:pointer;transition:.18s ease}button:hover{transform:translateY(-1px)}.newBtn{width:100%;padding:15px;border-radius:18px;font-weight:700}.newBtn.premium{background:linear-gradient(135deg,#2563eb,#4f46e5);color:#fff;box-shadow:0 10px 24px #2563eb2e}.newBtn.premium:hover{opacity:.95}.sideTabs{display:flex;gap:10px;margin-top:14px}.premiumTabs button{flex:1;padding:11px;border-radius:14px;background:#f1f5f9;color:#334155;font-weight:700}.premiumTabs button.active{background:#dbeafe;color:#1d4ed8}.recentTitle{font-size:11px;font-weight:800;color:#94a3b8;letter-spacing:.8px;margin:18px 6px 10px}.chatRow{position:relative;display:flex;align-items:center;gap:8px;padding:11px 12px;border-radius:14px;margin-bottom:6px}.premiumRow:hover{background:#f1f5f9}.chatTitle{flex:1;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}.moreBtn{width:28px;height:28px;border-radius:10px;background:transparent;opacity:0}.chatRow:hover .moreBtn{opacity:1}.moreBtn:hover{background:#e2e8f0}.menuBox{position:absolute;top:42px;right:8px;background:#fff;border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 18px 40px #0f172a14;overflow:hidden;z-index:99}.menuBox button{width:170px;padding:12px 14px;text-align:left;background:#fff}.menuBox button:hover{background:#f8fafc}.sidebar-footer{padding:14px;border-top:1px solid #e2e8f0}.planCard{background:linear-gradient(135deg,#eff6ff,#eef2ff);border:1px solid #dbeafe;border-radius:18px;padding:14px;margin-bottom:12px}.planTop{display:flex;justify-content:space-between;font-size:13px;font-weight:700;margin-bottom:10px}.planBar{height:8px;border-radius:99px;background:#dbeafe;overflow:hidden;margin-bottom:12px}.planFill{width:42%;height:100%;background:linear-gradient(90deg,#2563eb,#4f46e5)}.upgradeBtn{width:100%;padding:10px;border-radius:14px;background:#fff;font-weight:700;color:#1d4ed8}.logoutBtn{width:100%;padding:13px;border-radius:16px;background:#f8fafc;font-weight:700}.logoutBtn:hover{background:#fee2e2;color:#dc2626}.topbar{height:64px;display:flex;align-items:center;padding:0 28px;border-bottom:1px solid #e2e8f0;background:#fffc;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);font-weight:800;font-size:18px}.chatArea{flex:1;overflow:auto;max-width:920px;width:100%;margin:auto;padding:34px 24px 140px}.row{display:flex;margin-bottom:18px}.row.user{justify-content:flex-end}.bubble{max-width:76%;padding:16px 18px;border-radius:22px;line-height:1.6;font-size:15px}.bubble.user{background:linear-gradient(135deg,#dbeafe,#eff6ff)}.bubble.assistant{background:#fff;border:1px solid #e2e8f0;box-shadow:0 8px 24px #0f172a0a}.chatImg,.resultImg{width:100%;max-width:560px;border-radius:24px;display:block;box-shadow:0 20px 50px #00000014}.composerWrap{position:fixed;left:290px;right:0;bottom:0;padding:18px;background:linear-gradient(to top,#f8fafc 72%,transparent)}.composer{max-width:920px;margin:auto;display:flex;gap:10px;align-items:flex-end;padding:12px;border-radius:24px;background:#ffffffeb;border:1px solid #e2e8f0;box-shadow:0 18px 50px #0f172a0f}.iconBtn,.sendBtn{width:42px;height:42px;border-radius:50%}.iconBtn{background:#f1f5f9}.iconBtn.active{background:#dbeafe;color:#2563eb}.sendBtn{background:linear-gradient(135deg,#2563eb,#4f46e5);color:#fff}.sendBtn:disabled{opacity:.5}.inputArea{flex:1;display:flex;flex-direction:column;gap:8px}.composer textarea{width:100%;border:none;outline:none;resize:none;background:transparent;font-size:15px;padding:6px 4px;min-height:24px}.uploadPreview,.filePreview{width:max-content;max-width:220px;padding:10px 12px;border-radius:14px;background:#f8fafc;border:1px solid #e2e8f0;position:relative}.uploadPreview img{width:72px;height:72px;object-fit:cover;border-radius:12px}.removePreview{position:absolute;top:-6px;right:-6px;width:22px;height:22px;border-radius:50%;background:#0f172a;color:#fff;font-size:11px}.imagePage{height:100vh;overflow-y:auto;max-width:760px;width:100%;margin:60px auto;padding:0 24px}.resultWrap img{max-width:100%;height:auto;display:block;margin:auto}.imagePage textarea{width:100%;min-height:180px;border:1px solid #e2e8f0;border-radius:24px;padding:18px;font-size:15px;resize:vertical;outline:none;background:#fff}.imagePage button{margin-top:14px;padding:13px 18px;border-radius:16px;background:linear-gradient(135deg,#2563eb,#4f46e5);color:#fff;font-weight:700}@media (max-width:768px){.sidebar{display:none}.composerWrap{left:0}.chatArea{padding:20px 16px 120px}.topbar{padding:0 16px}.bubble{max-width:92%}}.premiumTopbar{display:flex;justify-content:space-between;align-items:center}.topTitle{font-size:18px;font-weight:800;color:#0f172a}.topSub{font-size:12px;color:#64748b;margin-top:2px}.topRight{display:flex;align-items:center;gap:12px}.ghostBtn{padding:10px 14px;border-radius:14px;background:#eff6ff;color:#1d4ed8;font-weight:700}.avatar{width:38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#2563eb,#4f46e5);color:#fff;font-weight:800}.emptyWrap{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:30px 30px 180px}.heroTitle{font-size:34px;font-weight:900;color:#0f172a;text-align:center}.heroSub{margin-top:10px;color:#64748b;text-align:center;max-width:520px;line-height:1.6}.quickGrid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:18px!important;width:100%;max-width:620px;margin:30px auto 0}.quickCard{width:100%;min-height:84px}.quickCard:hover{transform:translateY(-2px);box-shadow:0 12px 22px #0000000f}.msgRole{font-size:11px;font-weight:800;color:#94a3b8;margin-bottom:8px;letter-spacing:.4px}.inlineCode{background:#eff6ff;color:#1d4ed8;padding:2px 7px;border-radius:8px;font-size:13px}.typingBubble{min-width:110px}.premiumComposer{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.glowBtn{box-shadow:0 10px 24px #2563eb3d}.glowBtn:hover{opacity:.95}.miniPreview{width:34px;height:34px;border-radius:10px;object-fit:cover;margin-right:8px}@media (max-width:768px){.quickGrid{grid-template-columns:1fr}.heroTitle{font-size:28px}.topSub,.ghostBtn{display:none}}.topTitle{font-family:Times New Roman,serif;font-size:28px;font-weight:700}.topSub{font-size:14px;color:#6b7280}.brandLogo{width:30px;height:30px}.brandName,.newBtn,.quickCard,.logoutBtn,.ghostBtn{font-family:Segoe UI,Arial,sans-serif}.bubble{font-family:Times New Roman,serif;font-size:18px;line-height:1.7}.heroTitle{font-family:Times New Roman,serif;font-size:54px;font-weight:700}.composer{border-radius:28px;box-shadow:0 20px 50px #0f172a14}.sidebar-top{padding:6px 14px 12px}.brandOnly{display:flex;justify-content:center;align-items:center;height:52px;margin-bottom:10px;overflow:hidden}.bigLogo{width:245px;max-width:100%;height:auto;display:block;object-fit:contain;transform:none;transition:.25s ease;filter:drop-shadow(0 8px 18px rgba(37,99,235,.1))}.bigLogo:hover{transform:scale(1.02);filter:drop-shadow(0 12px 28px rgba(37,99,235,.18))}.brandWrap,.brandName,.brandSub,.brandLogo{display:none!important}body.dark{background:#0b1120;color:#e5e7eb}body.dark .main{background:radial-gradient(circle at top right,#111827 0,#0b1120 40%,#0b1120)}body.dark .sidebar{background:#0f172aeb;border-right:1px solid rgba(51,65,85,.7)}body.dark .topbar{background:#0f172ac7;border-bottom:1px solid #243041}body.dark .topTitle,body.dark .heroTitle,body.dark .brandName{color:#f8fafc}body.dark .topSub,body.dark .heroSub,body.dark .recentTitle{color:#94a3b8}body.dark .premiumTabs button,body.dark .iconBtn,body.dark .logoutBtn{background:#1e293b;color:#e5e7eb}body.dark .premiumTabs button.active{background:#1d4ed8;color:#fff}body.dark .chatRow:hover{background:#111827}body.dark .chatTitle{color:#e5e7eb}body.dark .bubble.assistant,body.dark .quickCard,body.dark .composer{background:#111827;border:1px solid #243041;color:#e5e7eb}body.dark .bubble.user{background:linear-gradient(135deg,#1d4ed8,#1e40af);color:#fff}body.dark textarea{color:#f8fafc}body.dark textarea::placeholder{color:#94a3b8}body.dark .composerWrap{background:linear-gradient(to top,#0b1120 72%,transparent)}body.dark .ghostBtn{background:#1e293b;color:#e5e7eb}body.dark .planCard{background:#111827;border:1px solid #243041}body.dark .upgradeBtn{background:#1e293b;color:#93c5fd}body{background:#f8fafc;color:#111827}.modeSelect{width:100%;height:46px;padding:0 14px;border-radius:14px;border:1px solid #e5e7eb;background:#fff;color:#111827;font-size:14px;outline:none;transition:.2s}.modeSelect:hover{border-color:#cbd5e1}.modeSelect:focus{border-color:#3b82f6;box-shadow:0 0 0 4px #3b82f61f}.quickGrid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;width:100%;max-width:1080px;margin:28px auto 0;padding-bottom:180px}.quickCard{width:100%;min-height:86px;padding:18px;border-radius:20px;display:flex;align-items:center;justify-content:flex-start;font-size:15px;font-weight:700;line-height:1.45;text-align:left}.quickCard:hover{transform:translateY(-2px)}@media (max-width:1100px){.quickGrid{grid-template-columns:repeat(2,1fr)!important;max-width:760px}}@media (max-width:640px){.quickGrid{grid-template-columns:1fr!important;max-width:100%;gap:12px!important;padding-bottom:160px}.quickCard{min-height:72px;font-size:14px;border-radius:18px}}.topbar{background:#fff;border-bottom:1px solid #eef2f7}@media (max-width:900px){.quickGrid{grid-template-columns:repeat(2,1fr)}}@media (max-width:640px){.quickGrid{grid-template-columns:1fr}}.contentBox{margin:16px 20px;padding:18px;border:1px solid #e5e7eb;border-radius:18px;background:#fff;box-shadow:0 8px 24px #0000000a;display:grid;grid-template-columns:2fr 1.5fr 1.2fr auto;gap:12px;align-items:center}.contentInput{height:44px;border:1px solid #e5e7eb;border-radius:12px;padding:0 14px;background:#fff;font-size:14px;outline:none}.contentInput:focus{border-color:#3b82f6;box-shadow:0 0 0 4px #3b82f61a}.contentBtn{height:44px;border:none;border-radius:12px;padding:0 18px;background:#2563eb;color:#fff;font-weight:600;cursor:pointer}.contentBtn:hover{opacity:.92}@media (max-width:900px){.contentBox{grid-template-columns:1fr}.contentBtn,.contentInput{width:100%}}.bubble img,.chatImg,.resultImg{width:100%;max-width:560px;display:block;border-radius:22px;margin-top:10px;object-fit:cover;box-shadow:0 18px 40px #00000014}.quickCard:nth-last-child(-n+4){background:linear-gradient(135deg,#fff,#f8fbff);border-color:#dbeafe}.quickCard:disabled{opacity:.6}@media (max-width:768px){.bubble img,.chatImg,.resultImg{max-width:100%;border-radius:18px}}.quickGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;width:100%;max-width:860px;margin:28px auto 0;padding-bottom:180px}.quickCard{min-height:86px;padding:18px;border-radius:20px;border:1px solid #e5e7eb;background:#fff;color:#111827;text-align:left;cursor:pointer;transition:.18s ease;box-shadow:0 8px 20px #0000000a;display:flex;align-items:center;justify-content:flex-start;font-size:15px;font-weight:700;line-height:1.45}.quickCard:hover{transform:translateY(-2px);border-color:#dbeafe;box-shadow:0 14px 28px #3b82f614}.quickCard:nth-child(5),.quickCard:nth-child(6),.quickCard:nth-child(7),.quickCard:nth-child(8),.quickCard:nth-child(9){background:linear-gradient(135deg,#fff,#f8fafc)}.quickCard:nth-child(n+10){background:linear-gradient(135deg,#fff,#f8fbff);border-color:#dbeafe}.heroTitle{font-size:34px;font-weight:800;letter-spacing:-.02em;margin-bottom:10px;text-align:center}.heroSub{font-size:15px;color:#6b7280;text-align:center;max-width:640px;margin:0 auto 10px}@media (max-width:768px){.quickGrid{grid-template-columns:1fr;max-width:100%;gap:12px;padding-bottom:160px}.quickCard{min-height:72px;border-radius:18px;font-size:14px}.heroTitle{font-size:28px}}.bubble{font-size:16px;line-height:1.75;font-weight:400;color:#111827;letter-spacing:0;word-break:break-word}.bubble p{margin:0 0 14px}.bubble h1,.bubble h2,.bubble h3{line-height:1.35;margin:0 0 14px}.userBubble{font-size:16px;line-height:1.6}.imagePage{flex:1;height:calc(100vh - 64px);overflow-y:auto;overflow-x:hidden;padding:26px 24px 160px;max-width:920px;width:100%;margin:0 auto;scroll-behavior:smooth}.imagePage::-webkit-scrollbar{width:8px}.imagePage::-webkit-scrollbar-thumb{background:#dbeafe;border-radius:20px}.imgTools{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:16px}.toolBtn{padding:13px 18px;border:none;border-radius:16px;background:#eef2ff;color:#334155;font-weight:800;cursor:pointer;transition:.18s ease}.toolBtn:hover{transform:translateY(-1px);background:#e0e7ff}.toolBtn.active{background:linear-gradient(135deg,#2563eb,#4f46e5);color:#fff;box-shadow:0 12px 26px #2563eb2e}.imagePage textarea{width:100%;min-height:180px;padding:18px;border-radius:22px;border:1px solid #e2e8f0;background:#fff;font-size:16px;line-height:1.6;resize:vertical;outline:none;margin-bottom:10px}.imagePage textarea:focus{border-color:#93c5fd;box-shadow:0 0 0 4px #3b82f61a}.fileTag{margin-top:10px;margin-bottom:6px;padding:10px 14px;border-radius:14px;background:#f8fafc;border:1px solid #e2e8f0;font-size:14px;color:#334155;word-break:break-all}.imagePage button{margin-top:10px;margin-right:10px;padding:13px 18px;border:none;border-radius:16px;font-weight:800;cursor:pointer}.imagePage button:disabled{opacity:.6;cursor:not-allowed}.resultWrap{margin-top:24px;padding-top:8px}.resultImg{width:100%;max-width:720px;display:block;margin:0 auto;border-radius:24px;box-shadow:0 24px 60px #0000001f;object-fit:contain}@media (max-width:768px){.imagePage{padding:18px 14px 140px}.imgTools{gap:8px}.toolBtn{flex:1;min-width:calc(50% - 8px);font-size:14px;padding:12px}.resultImg{max-width:100%;border-radius:18px}}.searchHistory{width:100%;height:42px;margin-top:12px;padding:0 14px;border:1px solid #e2e8f0;border-radius:14px;background:#fff;font-size:14px;outline:none}.searchHistory:focus{border-color:#93c5fd;box-shadow:0 0 0 4px #3b82f61a}.premiumRow,.upgradeBtn{transition:.18s ease}.upgradeBtn:hover{transform:translateY(-1px);box-shadow:0 10px 22px #2563eb1a}.menuBox{min-width:170px}.typingBubble{min-width:92px}.typingDots{display:flex;gap:6px}.typingDots span{width:8px;height:8px;border-radius:50%;background:#94a3b8;animation:blink 1.2s infinite}.typingDots span:nth-child(2){animation-delay:.2s}.typingDots span:nth-child(3){animation-delay:.4s}@keyframes blink{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}.filePreview{display:flex;align-items:center;gap:8px}.miniPreview{width:34px;height:34px;border-radius:10px;object-fit:cover}.emptyWrap{padding-bottom:180px}.codeWrap{margin-top:12px;border:1px solid #e5e7eb;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 6px 20px #0f172a0d}.codeTop{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;background:#f8fafc;border-bottom:1px solid #e5e7eb}.codeLang{font-size:12px;font-weight:700;color:#64748b;text-transform:uppercase;letter-spacing:.4px}.codeBtn{border:none;background:#2563eb;color:#fff;font-size:12px;font-weight:700;padding:6px 10px;border-radius:10px;cursor:pointer;transition:.2s}.codeBtn:hover{transform:translateY(-1px);opacity:.95}.codeWrap pre{margin:0;padding:16px;overflow:auto;font-size:14px;line-height:1.75;color:#0f172a;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;white-space:pre-wrap;word-break:break-word;background:#fff}.codeWrap code{background:none;padding:0;color:inherit}.inlineCode{display:inline-block;padding:2px 7px;border-radius:8px;background:#eef2ff;color:#1d4ed8;font-size:13px;font-family:ui-monospace,monospace;margin:0 2px}.typingBubble:after{content:"";position:absolute;left:-40%;top:0;width:40%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.65),transparent);animation:fileShine 1.8s linear infinite}@keyframes fileShine{to{left:140%}}.bubble.user{background:#eef4ff;border:1px solid #dbeafe}.bubble.assistant{line-height:1.75}.fileProTag{display:inline-block;font-size:11px;font-weight:700;padding:4px 8px;border-radius:999px;background:#2563eb;color:#fff;margin-bottom:8px}.toolsPage{flex:1;overflow:auto;padding:34px 28px 140px}.toolsPage::-webkit-scrollbar{width:8px}.toolsPage::-webkit-scrollbar-thumb{background:#dbeafe;border-radius:999px}.toolsHero{max-width:980px;margin:0 auto 28px}.toolsHero h1{font-size:38px;line-height:1.1;font-weight:800;letter-spacing:-.03em;margin-bottom:8px;color:#0f172a}.toolsHero p{font-size:15px;color:#64748b;margin-bottom:18px}.toolsSearch{width:100%;height:52px;border:1px solid #e5e7eb;border-radius:18px;padding:0 16px;background:#fff;font-size:15px;outline:none;transition:.18s ease}.toolsSearch:focus{border-color:#93c5fd;box-shadow:0 0 0 4px #3b82f61a}.toolGroup{max-width:980px;margin:0 auto 28px}.toolGroup h2{font-size:20px;font-weight:800;color:#111827;margin-bottom:14px}.toolCard{border:none;cursor:pointer;text-align:left;padding:18px;border-radius:22px;background:linear-gradient(135deg,#fff,#fbfdff);border:1px solid #e8edf5;box-shadow:0 10px 24px #0f172a0b;transition:.18s ease}.toolCard:hover{transform:translateY(-3px);border-color:#dbeafe;box-shadow:0 18px 34px #3b82f617}.toolIcon{width:46px;height:46px;border-radius:16px;display:flex;align-items:center;justify-content:center;background:#eef4ff;font-size:22px;margin-bottom:14px}.toolTitle{font-size:16px;font-weight:800;color:#111827;line-height:1.35;margin-bottom:8px}.toolDesc{font-size:14px;line-height:1.55;color:#6b7280}body.dark .toolsHero h1,body.dark .toolGroup h2,body.dark .toolTitle{color:#f8fafc}body.dark .toolsHero p,body.dark .toolDesc{color:#94a3b8}body.dark .toolsSearch{background:#111827;border-color:#243041;color:#f8fafc}body.dark .toolCard{background:linear-gradient(135deg,#111827,#0f172a);border-color:#243041}body.dark .toolIcon{background:#1e293b}@media (max-width:768px){.toolsPage{padding:22px 14px 120px}.toolsHero h1{font-size:30px}.toolGrid{grid-template-columns:1fr;gap:12px}.toolCard{border-radius:18px;padding:16px}}.toolsPage{height:100vh;overflow:auto;padding:34px 28px 40px!important}.toolsPage{padding-bottom:90px!important}.main{min-width:0}.toolsHero{position:sticky;top:0;z-index:5;padding-bottom:18px;background:linear-gradient(to bottom,rgba(248,250,252,.96),rgba(248,250,252,.9),transparent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.toolsSearch{box-shadow:0 8px 18px #0f172a0a}.toolGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.toolCard{min-height:168px;display:flex;flex-direction:column;justify-content:flex-start}.toolCard:active{transform:translateY(-1px)}.toolGroup{margin-bottom:34px!important}.emptyWrap{display:flex;flex-direction:column;justify-content:center;align-items:center}body.dark .toolsHero{background:linear-gradient(to bottom,rgba(15,23,42,.96),rgba(15,23,42,.9),transparent)}@media (max-width:1100px){.toolGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:768px){.toolsPage{height:100%;padding:18px 14px 100px!important}.toolGrid{grid-template-columns:1fr;gap:12px}.toolCard{min-height:unset}.toolsHero{position:static;padding-bottom:14px;background:transparent}}.toolsHero{position:relative!important;top:auto!important;z-index:auto!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:transparent!important;padding-bottom:18px!important}.toolGroup h2{position:relative;z-index:1;margin-bottom:14px!important}.toolsPage{padding-top:28px!important}@media (max-width:768px){.toolsHero{position:relative!important}}.chatArea{scroll-behavior:smooth}.bubble{position:relative;border-radius:24px!important;padding:16px 18px!important}.bubble.assistant{background:#fff!important;border:1px solid #e8edf5!important;box-shadow:0 10px 26px #0f172a0b}.bubble.user{background:linear-gradient(135deg,#dbeafe,#eef4ff)!important}.bubble.assistant p{margin:0}.bubble.assistant:has(p){overflow:hidden}@keyframes progressRun{0%{left:-20%;width:20%}50%{width:42%}to{left:100%;width:18%}}.typingBubble{min-width:120px}.typingDots{display:flex;gap:6px;padding-top:2px}.typingDots span{width:8px;height:8px;border-radius:999px;background:#94a3b8;animation:bounce 1s infinite}.typingDots span:nth-child(2){animation-delay:.15s}.typingDots span:nth-child(3){animation-delay:.3s}@keyframes bounce{0%,80%,to{transform:translateY(0);opacity:.45}40%{transform:translateY(-6px);opacity:1}}.composer{transition:.18s ease}.composer:focus-within{border-color:#bfdbfe!important;box-shadow:0 22px 50px #3b82f61a!important}.filePreview{border:1px solid #e8edf5;background:#f8fafc;border-radius:16px;padding:8px 10px;gap:10px}.miniPreview{border-radius:10px}.chatImg{max-width:100%;border-radius:18px;border:1px solid #e5e7eb;box-shadow:0 12px 28px #0f172a0f}.toolCard{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.toolCard:hover{transform:translateY(-4px)}.chatArea::-webkit-scrollbar,.toolsPage::-webkit-scrollbar,.history::-webkit-scrollbar{width:8px}.chatArea::-webkit-scrollbar-thumb,.toolsPage::-webkit-scrollbar-thumb,.history::-webkit-scrollbar-thumb{background:#dbeafe;border-radius:999px}body.dark .bubble.assistant{background:#111827!important;border-color:#243041!important}body.dark .typingBubble:after{content:"";position:absolute;left:0;bottom:0;height:3px;width:42%;border-radius:999px;background:linear-gradient(90deg,#3b82f6,#60a5fa);animation:progressRun 1.8s linear infinite}body.dark .filePreview{background:#0f172a;border-color:#243041}.typingBubble{position:relative;overflow:hidden}.typingBubble:after{content:"";position:absolute;left:-30%;bottom:0;height:3px;width:30%;border-radius:999px;background:linear-gradient(90deg,#3b82f6,#60a5fa);animation:progressRun 1.6s linear infinite}.modalWrap{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000073;display:flex;align-items:center;justify-content:center;z-index:9999;padding:20px}.upgradeModal{width:100%;max-width:420px;background:#fff;border-radius:22px;padding:26px;box-shadow:0 25px 70px #0000002e;animation:popUp .18s ease}@keyframes popUp{0%{transform:scale(.96);opacity:0}to{transform:scale(1);opacity:1}}.upgradeTitle{font-size:28px;font-weight:800;color:#111827}.upgradePrice{margin-top:6px;font-size:18px;font-weight:700;color:#2563eb}.upgradeList{margin-top:18px;line-height:1.9;color:#374151;font-size:15px}.payBox{margin-top:18px;background:#f8fafc;border:1px solid #e5e7eb;border-radius:16px;padding:16px;line-height:1.8;color:#111827;font-size:14px}.note{margin-top:10px;color:#6b7280;font-size:13px}.pendingBox{margin-top:14px;background:#fff7ed;color:#9a3412;border:1px solid #fdba74;padding:12px;border-radius:14px;font-size:14px}.successBox{margin-top:14px;background:#ecfdf5;color:#065f46;border:1px solid #6ee7b7;padding:12px;border-radius:14px;font-size:14px}.upgradeBtn.big{width:100%;margin-top:18px;height:48px;border:none;border-radius:14px;background:#2563eb;color:#fff;font-weight:700;cursor:pointer}.upgradeBtn.big:hover{opacity:.95}.closeBtn{width:100%;margin-top:12px;height:44px;border:none;border-radius:14px;background:#f3f4f6;color:#111827;font-weight:700;cursor:pointer}.closeBtn:hover{background:#e5e7eb}.adminPage{padding:32px;min-height:100vh;background:#f8fafc}.adminTop{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.adminTop h1{font-size:28px;font-weight:800;color:#111827;margin:0}.adminTop button{border:none;background:#2563eb;color:#fff;padding:12px 18px;border-radius:14px;font-weight:700;cursor:pointer}.adminTop button:hover{opacity:.95}.adminTable{background:#fff;border-radius:22px;overflow:hidden;box-shadow:0 10px 30px #0000000f}.thead,.trow{display:grid;grid-template-columns:2fr 1fr 1fr 1fr 1.4fr 1fr;gap:14px;align-items:center}.thead{background:#eff6ff;color:#1e3a8a;font-weight:800;padding:16px 18px}.trow{padding:16px 18px;border-top:1px solid #f1f5f9;color:#111827}.trow:hover{background:#f8fafc}.okBtn{border:none;background:#16a34a;color:#fff;padding:10px 14px;border-radius:12px;font-weight:700;cursor:pointer}.okBtn:hover{opacity:.95}@media (max-width:900px){.thead,.trow{grid-template-columns:1.6fr .8fr .8fr .8fr 1fr .8fr;font-size:13px}.adminPage{padding:16px}}@media (max-width:700px){.adminTable{overflow:auto}.thead,.trow{min-width:760px}}.adminFilters{display:flex;gap:12px;align-items:center;margin-bottom:18px;flex-wrap:wrap}.adminFilters input,.adminFilters select{height:44px;padding:0 14px;border:1px solid #dbe2ea;border-radius:14px;background:#fff;font-size:14px;min-width:220px;outline:none}.adminFilters input:focus,.adminFilters select:focus{border-color:#2563eb}.adminFilters button{height:44px;padding:0 18px;border:none;border-radius:14px;background:#111827;color:#fff;font-weight:700;cursor:pointer}.adminFilters button:hover{opacity:.95}.forbiddenBox{max-width:520px;margin:80px auto;background:#fff7ed;color:#9a3412;border:1px solid #fdba74;border-radius:18px;padding:24px;text-align:center;font-weight:700;box-shadow:0 10px 30px #0000000d}@media (max-width:700px){.adminFilters{flex-direction:column;align-items:stretch}.adminFilters input,.adminFilters select,.adminFilters button{width:100%;min-width:unset}}.statsGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:18px}.statCard{background:#fff;border-radius:22px;padding:20px;box-shadow:0 10px 30px #0000000d}.statLabel{font-size:14px;color:#64748b;font-weight:700}.statValue{margin-top:8px;font-size:28px;font-weight:800;color:#111827}@media (max-width:900px){.statsGrid{grid-template-columns:1fr}}.rejectBtn{border:none;background:#dc2626;color:#fff;padding:10px 14px;border-radius:12px;font-weight:700;cursor:pointer}.rejectBtn:hover{opacity:.95}.actionCell{display:flex;gap:8px;flex-wrap:wrap}.actionCell .okBtn{min-width:68px}.trow .actionCell{justify-content:flex-start}@media (max-width:900px){.actionCell{gap:6px}.actionCell .okBtn{min-width:60px;padding:9px 12px;font-size:13px}}@media (max-width:700px){.adminTable{overflow:auto}.thead,.trow{min-width:900px}}.adminNav{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.adminNav button{border:none;background:#111827;color:#fff;padding:12px 18px;border-radius:14px;font-weight:700;cursor:pointer}.adminNav button:hover{opacity:.95}@media (max-width:700px){.adminTop{flex-direction:column;align-items:stretch}.adminNav{width:100%}.adminNav button{flex:1}}.payBox{font-size:15px;line-height:2}.payBox b{color:#111827}.upgradeTitle{word-break:break-word}@media (max-width:700px){.upgradeModal{max-width:100%;padding:20px}.upgradeTitle{font-size:20px}.upgradePrice{font-size:16px}}.adminStats{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:16px;margin-bottom:24px}.statCard{background:#fff;border-radius:18px;padding:18px;box-shadow:0 10px 30px #0000000d}.statCard span{font-size:13px;color:#64748b}.statCard strong{display:block;margin-top:6px;font-size:22px;color:#111827}.chartWrap{margin-top:24px;background:#fff;border-radius:20px;padding:20px;box-shadow:0 10px 30px #0000000d}.chartTitle{font-weight:800;margin-bottom:16px}.chartRow{display:flex;align-items:flex-end;gap:14px;height:140px}.barCol{flex:1;text-align:center}.bar{width:100%;border-radius:8px 8px 0 0}.bar.users{background:#3b82f6}.bar.chat{background:#22c55e}.bar.revenue{background:#f59e0b}.barCol span{font-size:12px;color:#64748b}.adminStats{margin-bottom:20px}.chartWrap{margin-bottom:24px}.adminTop{margin-top:20px}.payBox{width:100%;max-width:260px;margin:0 auto;text-align:center}.modalOverlay{position:fixed;top:0;left:0;width:100%;height:100%;background:#0006;display:flex;align-items:center;justify-content:center;z-index:999}.modalBox{background:#fff;padding:20px;border-radius:12px;width:350px;max-width:90%;box-shadow:0 10px 30px #0003}.upgradeBox{margin-top:12px;padding:14px;border-radius:16px;background:#fff;border:1px solid #e5e7eb;box-shadow:0 10px 26px #0000000f}.planSelect{display:flex;gap:10px}.planSelect button{flex:1;padding:10px;border-radius:12px;border:none;font-weight:700;cursor:pointer;background:#eef2ff;transition:.2s}.planSelect button:hover{background:#dbeafe}.qrBox{margin-top:14px;text-align:center}.qrBox img{max-width:180px;border-radius:12px;box-shadow:0 10px 24px #00000014}.payInfo{margin-top:10px;font-size:13px;color:#334155;line-height:1.6}.pendingBox{margin-top:10px;padding:8px 10px;border-radius:10px;background:#fff7ed;color:#c2410c;font-size:13px;font-weight:600;text-align:center}.limit-banner{position:fixed;top:80px;right:20px;width:260px;padding:16px;background:#fff;border-radius:12px;box-shadow:0 8px 24px #0000001f;z-index:9999}.paywallWrap{position:fixed;top:0;left:0;width:100vw;height:100vh;display:flex;align-items:center;justify-content:center;background:#0006;z-index:9999}.paywallBox{width:360px;max-width:90%;background:#fff;border-radius:16px;padding:24px;box-shadow:0 20px 60px #0003;text-align:center}.paywallWrap{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.paywallBtn,.paywallClose{flex:1}.paywallActions{display:flex;gap:12px;margin-top:20px}.paywallBtn,.paywallClose{flex:1;padding:10px;border-radius:8px;cursor:pointer}.paywallBtn{background:#4f46e5;color:#fff;border:none}.paywallClose{background:#f1f5f9;border:none}.codeWrap{background:#fff;border-radius:10px;margin:12px 0;border:1px solid #e5e7eb;overflow:hidden}.codeTop{display:flex;justify-content:space-between;align-items:center;padding:6px 10px;font-size:12px;background:#f1f5f9;color:#334155;border-bottom:1px solid #e2e8f0}.codeLang{font-weight:500;opacity:.8}.codeBtn{background:#2563eb;border:none;color:#fff;padding:4px 8px;border-radius:6px;cursor:pointer;font-size:12px}.codeBtn:hover{background:#1d4ed8}pre{margin:0;padding:14px;overflow-x:auto;background:#f8fafc}code{font-size:13px;line-height:1.6;color:#0f172a}.inlineCode{background:#e2e8f0;padding:2px 6px;border-radius:4px}
