*{box-sizing:border-box;margin:0;padding:0}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;color:#1a1f36;background:#f6f9fc;line-height:1.5}
a{color:#635bff;text-decoration:none}
a:hover{text-decoration:underline}
.nav{background:#fff;border-bottom:1px solid #e3e8ee;padding:16px 0;position:sticky;top:0;z-index:10}
.nav-inner{max-width:1100px;margin:0 auto;padding:0 24px;display:flex;align-items:center;justify-content:space-between}
.logo{font-weight:700;font-size:20px;color:#1a1f36;display:flex;align-items:center;gap:8px}
.logo-mark{width:28px;height:28px;background:linear-gradient(135deg,#635bff,#00d4ff);border-radius:6px}
.nav-links{display:flex;gap:28px;list-style:none}
.nav-links a{color:#425466;font-size:14px;font-weight:500}
.btn{display:inline-block;padding:10px 18px;border-radius:6px;font-weight:500;font-size:14px;border:none;cursor:pointer;transition:background .15s}
.btn-primary{background:#635bff;color:#fff}
.btn-primary:hover{background:#5046e4;text-decoration:none;color:#fff}
.btn-ghost{background:transparent;color:#425466;border:1px solid #e3e8ee}
.btn-ghost:hover{background:#f6f9fc;text-decoration:none}
.container{max-width:1100px;margin:0 auto;padding:0 24px}
.hero{padding:80px 0 60px;text-align:center}
.hero h1{font-size:48px;font-weight:700;margin-bottom:16px;letter-spacing:-0.02em;background:linear-gradient(135deg,#1a1f36,#635bff);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.hero p{font-size:18px;color:#425466;max-width:600px;margin:0 auto 32px}
.features{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px;padding:60px 0}
.card{background:#fff;border:1px solid #e3e8ee;border-radius:8px;padding:28px;box-shadow:0 1px 2px rgba(0,0,0,.04)}
.card h3{font-size:18px;margin-bottom:10px}
.card p{color:#425466;font-size:14px}
.card-icon{width:40px;height:40px;background:#f0eeff;color:#635bff;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:20px;margin-bottom:16px;font-weight:bold}
footer{background:#fff;border-top:1px solid #e3e8ee;padding:40px 0;margin-top:80px;color:#697386;font-size:13px}
.foot-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:32px;margin-bottom:32px}
.foot-grid h4{font-size:13px;color:#1a1f36;margin-bottom:12px;text-transform:uppercase;letter-spacing:0.04em}
.foot-grid ul{list-style:none}
.foot-grid li{margin-bottom:8px}
.foot-grid a{color:#697386}
.copyright{border-top:1px solid #e3e8ee;padding-top:24px;text-align:center;font-size:12px}
.login-wrap{min-height:calc(100vh - 73px);display:flex;align-items:center;justify-content:center;padding:40px 24px}
.login-card{background:#fff;border:1px solid #e3e8ee;border-radius:10px;padding:40px;width:100%;max-width:420px;box-shadow:0 4px 12px rgba(0,0,0,.05)}
.login-card h1{font-size:24px;margin-bottom:8px}
.login-card .sub{color:#425466;font-size:14px;margin-bottom:28px}
.form-group{margin-bottom:18px}
.form-group label{display:block;font-size:13px;font-weight:500;color:#1a1f36;margin-bottom:6px}
.form-group input{width:100%;padding:10px 14px;border:1px solid #e3e8ee;border-radius:6px;font-size:14px;font-family:inherit;outline:none;transition:border .15s}
.form-group input:focus{border-color:#635bff;box-shadow:0 0 0 3px rgba(99,91,255,.1)}
.row{display:flex;justify-content:space-between;align-items:center;font-size:13px;margin-bottom:24px}
.checkbox{display:flex;align-items:center;gap:6px;color:#425466}
.error{color:#cd3500;background:#fef2f1;padding:10px 14px;border-radius:6px;font-size:13px;margin-bottom:18px;display:none}
.divider{text-align:center;color:#697386;font-size:12px;margin:24px 0;position:relative}
.divider:before,.divider:after{content:"";position:absolute;top:50%;width:42%;height:1px;background:#e3e8ee}
.divider:before{left:0}.divider:after{right:0}
.legal{padding:60px 0;max-width:760px;margin:0 auto}
.legal h1{font-size:32px;margin-bottom:8px}
.legal .meta{color:#697386;font-size:14px;margin-bottom:32px}
.legal h2{font-size:20px;margin:32px 0 12px}
.legal p{margin-bottom:14px;color:#3c4257;font-size:15px}
.legal ul{margin:12px 0 14px 24px;color:#3c4257}
.legal li{margin-bottom:6px}
.error-page{text-align:center;padding:120px 24px 80px}
.error-page h1{font-size:120px;font-weight:700;color:#635bff;line-height:1}
.error-page h2{font-size:24px;margin:16px 0 12px}
.error-page p{color:#425466;margin-bottom:24px}
@media(max-width:640px){.hero h1{font-size:32px}.nav-links{display:none}}
