html{scroll-behavior:smooth}body{margin:0}a{color:inherit;text-decoration:none}button,input,textarea{font-family:inherit}button{-webkit-tap-highlight-color:transparent}textarea::placeholder{color:#7f8aa9}:root{color:#f5f7ff;font-synthesis:none;text-rendering:optimizelegibility;background:#0b1020;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth;background:#0b1020}body{color:#f5f7ff;background:radial-gradient(circle at 0 0,#5747ff29,#0000 30%),radial-gradient(circle at 100% 0,#00bcff1f,#0000 28%),#0b1020;min-width:320px;min-height:100vh;margin:0}button,textarea,input{font:inherit}button{-webkit-tap-highlight-color:transparent;border:none}textarea::placeholder,input::placeholder{color:#7f8aa9}::selection{color:#fff;background:#6d5dfc59}.app{background:radial-gradient(circle at 10% 10%,#6d5dfc1a,#0000 28%),radial-gradient(circle at 90% 10%,#25b8ff14,#0000 30%),#0b1020;min-height:100vh}.topbar{z-index:20;-webkit-backdrop-filter:blur(16px);background:#0b1020e0;border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:center;padding:16px 5vw;display:flex;position:sticky;top:0}.brand{align-items:center;gap:12px;display:flex}.brand-icon{background:linear-gradient(135deg,#6d5dfc,#25b8ff);border-radius:14px;place-items:center;width:48px;height:48px;display:grid;overflow:hidden;box-shadow:0 12px 30px #4d5fff47}.brand-icon img{object-fit:cover;width:100%;height:100%}.brand h1{color:#fff;margin:0;font-size:18px}.brand p{color:#98a3c7;margin:3px 0 0;font-size:12px}.nav{gap:8px;display:flex}.nav-button{color:#aeb7d4;cursor:pointer;background:0 0;border-radius:10px;padding:9px 14px;transition:background .16s,color .16s,transform .16s}.nav-button:hover{color:#fff;background:#ffffff0f}.nav-button.active{color:#fff;background:linear-gradient(135deg,#6d5dfcf2,#3e6afff2)}.main{width:min(1160px,92vw);margin:0 auto;padding:32px 0 64px}.error-banner{color:#ffb3b3;background:#ff5c5c14;border:1px solid #ff5c5c59;border-radius:13px;margin-bottom:16px;padding:13px 15px;line-height:1.5}.hero{grid-template-columns:minmax(0,1.45fr) minmax(270px,.75fr);gap:22px;display:grid}.hero-copy,.hero-card,.page-card{background:linear-gradient(#131b33f5,#0d1326f2);border:1px solid #ffffff14;border-radius:22px;box-shadow:0 22px 54px #0003}.hero-copy{padding:36px 40px}.eyebrow{color:#7cc8ff;letter-spacing:.09em;text-transform:uppercase;margin-bottom:12px;font-size:11px;font-weight:800;display:inline-block}.hero-copy h2{color:#fff;letter-spacing:-.045em;max-width:670px;margin:0;font-size:clamp(40px,5.2vw,60px);line-height:.98}.hero-copy p{color:#a8b2cf;max-width:650px;margin:18px 0 0;font-size:16px;line-height:1.65}.hero-actions{flex-wrap:wrap;gap:10px;margin-top:22px;display:flex}.primary-button,.secondary-button{cursor:pointer;border-radius:11px;min-height:42px;padding:0 17px;font-weight:700;transition:transform .16s,filter .16s,opacity .16s}.primary-button{color:#fff;background:linear-gradient(135deg,#6d5dfc,#3c8cff);box-shadow:0 12px 28px #4e62ff38}.secondary-button{color:#eef2ff;background:#ffffff0f;border:1px solid #ffffff14}.primary-button:hover,.secondary-button:hover{filter:brightness(1.08);transform:translateY(-1px)}.primary-button:disabled,.secondary-button:disabled{cursor:not-allowed;opacity:.55;transform:none}.hero-card{text-align:center;flex-direction:column;justify-content:center;align-items:center;padding:30px;display:flex}.robot-placeholder{background:radial-gradient(circle at 30% 30%,#58d5ff3d,#0000 38%),linear-gradient(145deg,#1a2141,#11172f);border:1px solid #ffffff14;border-radius:30px;place-items:center;width:112px;height:112px;display:grid;overflow:hidden;box-shadow:inset 0 1px #ffffff0f,0 18px 42px #00000042}.robot-placeholder img{object-fit:cover;width:100%;height:100%}.hero-card h3{color:#fff;margin:18px 0 7px;font-size:19px}.hero-card p{color:#9ba6c4;max-width:270px;margin:0;font-size:14px;line-height:1.55}.stats-row{grid-template-columns:repeat(3,1fr);gap:12px;margin-top:16px;display:grid}.stat-card{background:#11182ee6;border:1px solid #ffffff14;border-radius:16px;padding:16px 18px}.stat-card span{color:#8f9abb;margin-bottom:7px;font-size:11px;display:block}.stat-card strong{color:#fff;font-size:22px}.section{margin-top:30px}.section-heading{justify-content:space-between;align-items:end;gap:18px;margin-bottom:16px;display:flex}.section-heading h2,.page-card h2{color:#fff;margin:0;font-size:27px}.subject-grid{grid-template-columns:repeat(3,1fr);gap:12px;display:grid}.subject-card{color:#fff;cursor:pointer;text-align:left;background:linear-gradient(#141c34f2,#0d1427f2);border:1px solid #ffffff14;border-radius:16px;flex-direction:column;align-items:flex-start;min-height:145px;padding:18px;transition:transform .16s,border-color .16s,box-shadow .16s;display:flex}.subject-card:hover{border-color:#668bff80;transform:translateY(-3px);box-shadow:0 16px 36px #0003}.subject-card.selected{border-color:#6678ff;box-shadow:0 0 0 1px #6678ff59,0 16px 36px #23328238}.subject-emoji{font-size:27px}.subject-title{margin-top:14px;font-size:17px;font-weight:800}.subject-description{color:#9ca8c6;margin-top:6px;font-size:12px;line-height:1.45}.page-card{padding:30px}.chat-preview{flex-direction:column;gap:11px;min-height:220px;margin-top:22px;display:flex}.assistant-message{color:#e9edfb;white-space:pre-wrap;overflow-wrap:anywhere;background:#ffffff0d;border:1px solid #ffffff14;border-radius:17px 17px 17px 6px;align-self:flex-start;max-width:560px;padding:14px 16px;line-height:1.6}.user-message{color:#fff;white-space:pre-wrap;overflow-wrap:anywhere;background:linear-gradient(135deg,#6d5dfc,#3c8cff);border-radius:17px 17px 6px;align-self:flex-end;max-width:560px;padding:14px 16px;line-height:1.6;box-shadow:0 10px 26px #4459ff2e}.composer{margin-top:22px}.composer textarea{resize:vertical;color:#fff;background:#070c1bc7;border:1px solid #ffffff14;border-radius:15px;outline:none;width:100%;min-height:120px;padding:15px;line-height:1.5;display:block}.composer textarea:focus{border-color:#5d77ffcc;box-shadow:0 0 0 3px #5d77ff1f}.composer textarea:disabled{opacity:.65;cursor:not-allowed}.composer .primary-button{margin-top:11px}.study-grid{grid-template-columns:repeat(4,1fr);gap:12px;margin-top:22px;display:grid}.study-card{background:#ffffff0a;border:1px solid #ffffff14;border-radius:15px;padding:18px}.study-card span{color:#8f9aba;font-size:11px;display:block}.study-card strong{color:#fff;margin-top:7px;font-size:21px;display:block}.reward-card{background:linear-gradient(135deg,#6549ff21,#209bff17);border:1px solid #ffffff14;border-radius:17px;margin-top:18px;padding:20px}.reward-card h3{color:#fff;margin:0}.reward-card p{color:#9aa5c4}.progress-track{background:#ffffff14;border-radius:999px;height:9px;margin:17px 0 9px;overflow:hidden}.progress-fill{border-radius:inherit;background:linear-gradient(90deg,#715cff,#2db4ff);height:100%;transition:width .3s}.reward-card>span{color:#8994b5;font-size:12px}.auth-page{background:radial-gradient(circle at 27% 48%,#6e2eff47,#0000 31%),radial-gradient(circle at 73% 45%,#009bff33,#0000 33%),linear-gradient(135deg,#05091a 0%,#080d29 50%,#020718 100%);justify-content:center;align-items:center;min-height:100vh;padding:20px 14px;display:flex;position:relative;overflow:hidden}.auth-page:before,.auth-page:after{content:"";filter:blur(100px);pointer-events:none;border-radius:50%;width:420px;height:420px;position:absolute}.auth-page:before{background:#7e34ff33;top:35%;left:8%}.auth-page:after{background:#00a8ff29;top:29%;right:7%}.auth-card{z-index:1;background:linear-gradient(#091330f7,#040c21fc);border:1px solid #4899ffe0;border-radius:24px;width:min(540px,92vw);padding:22px 42px 0;position:relative;overflow:hidden;box-shadow:0 0 0 1px #a046ff5c,-28px 0 90px #722dff2e,28px 0 90px #00a3ff24,0 32px 80px #00000080}.auth-loading-card{padding-bottom:22px}.auth-logo{justify-content:center;margin-bottom:4px;display:flex}.auth-logo img{object-fit:cover;border-radius:18px;width:82px;height:82px}.auth-brand{text-align:center;letter-spacing:.15em;background:linear-gradient(90deg,#a554ff 8%,#4f82ff 52%,#20b9ff 94%);color:#0000;-webkit-background-clip:text;background-clip:text;font-size:16px;font-weight:800}.auth-card h1{text-align:center;color:#fff;letter-spacing:-.04em;margin:8px 0;font-size:38px;line-height:1}.auth-subtitle{text-align:center;color:#d3d8e7;margin:0 auto 20px;font-size:14px}.auth-tabs{border-bottom:1px solid #ffffff21;grid-template-columns:1fr 1fr;width:300px;max-width:100%;margin:0 auto 20px;display:grid}.auth-tab{color:#d5d9e6;cursor:pointer;background:0 0;padding:10px;font-size:15px;position:relative}.auth-tab.active{color:#42a0ff}.auth-tab.active:after{content:"";background:linear-gradient(90deg,#a552ff,#27baff);height:2px;position:absolute;bottom:-1px;left:0;right:0}.auth-form,.auth-field{flex-direction:column;display:flex}.auth-form{gap:13px}.auth-field{gap:6px}.auth-field label{color:#fff;font-size:13px}.auth-input-wrap{position:relative}.auth-input-icon{z-index:2;position:absolute;top:50%;left:16px;transform:translateY(-50%)}.auth-input-wrap input{color:#fff;background:#03091ccc;border:1px solid #526dabc7;border-radius:12px;outline:none;width:100%;height:50px;padding:0 16px 0 50px}.auth-submit{color:#fff;cursor:pointer;background:linear-gradient(90deg,#8d3fff 0%,#515dff 49%,#149cff 100%);border-radius:12px;width:100%;height:50px;font-weight:800}.auth-divider{grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;margin:16px 0 12px;display:grid}.auth-divider span{background:#ffffff1c;height:1px}.auth-create-small{color:#fff;cursor:pointer;background:#03091bb8;border:1px solid #4f6badcc;border-radius:10px;width:fit-content;margin:0 auto;padding:9px 18px;display:block}.auth-error,.auth-success{border-radius:10px;padding:10px 12px;font-size:12px}.auth-error{color:#ffb4b4;background:#ff5c5c14;border:1px solid #ff5c5c59}.auth-success{color:#baf4d1;background:#57f49b12;border:1px solid #57f49b4d}.study-robot-art{justify-content:center;width:100%;margin:8px auto 0;display:flex}.study-robot-art img{object-fit:contain;width:100%;max-width:456px;height:auto}@media (width<=900px){.topbar{flex-direction:column;align-items:flex-start;gap:14px}.nav{width:100%;overflow-x:auto}.hero{grid-template-columns:1fr}.subject-grid,.study-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=620px){.main{width:min(94vw,100%);padding-top:22px}.hero-copy{padding:26px}.hero-copy h2{font-size:40px}.section-heading{flex-direction:column;align-items:flex-start}.stats-row,.subject-grid,.study-grid{grid-template-columns:1fr}.page-card{padding:22px}}
