:root{
    --bg:#07070b;
    --panel:rgba(18,16,27,.80);
    --border:rgba(168,85,247,.20);
    --border-strong:rgba(168,85,247,.42);
    --purple:#a855f7;
    --purple-light:#c084fc;
    --text:#f5f3ff;
    --muted:#aaa6b6;
}
*{box-sizing:border-box}
html{background:var(--bg)}
body{
    margin:0;min-height:100vh;color:var(--text);
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
    background:
        radial-gradient(circle at 14% 12%,rgba(126,34,206,.17),transparent 31%),
        radial-gradient(circle at 86% 86%,rgba(88,28,135,.14),transparent 30%),
        var(--bg);
}
a{color:inherit}
.orb{position:fixed;width:380px;height:380px;border-radius:50%;filter:blur(100px);background:rgba(147,51,234,.08);pointer-events:none}
.orb.a{top:-150px;left:-140px}.orb.b{right:-150px;bottom:-160px}
.topbar{
    position:relative;z-index:2;max-width:1100px;margin:auto;padding:24px;
    display:flex;align-items:center;justify-content:space-between;
}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-weight:750}
.brand-mark{color:var(--purple-light)}
.topbar a.logout{color:var(--muted);font-size:14px;text-decoration:none}
.shell{position:relative;z-index:1;width:min(1000px,calc(100% - 36px));margin:50px auto 80px}
.hero{text-align:center;max-width:760px;margin:60px auto 42px}
.eyebrow{color:var(--purple-light);font-size:11px;font-weight:750;letter-spacing:1.8px}
.hero h1,.login-card h1{
    margin:12px 0 17px;line-height:1;letter-spacing:-2.8px;
    background:linear-gradient(135deg,#fff 20%,#d8b4fe 65%,#9333ea 100%);
    -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
}
.hero h1{font-size:clamp(48px,8vw,78px)}
.hero p,.login-card p{color:var(--muted);line-height:1.7;margin:0}
.tools-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.tool-card{
    display:flex;flex-direction:column;min-height:280px;padding:24px;
    border:1px solid var(--border);border-radius:22px;background:var(--panel);
    backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);
    text-decoration:none;transition:.2s ease;
}
.tool-card:hover{transform:translateY(-3px);border-color:var(--border-strong);background:rgba(168,85,247,.07)}
.tool-icon{
    width:54px;height:54px;border-radius:16px;display:grid;place-items:center;
    border:1px solid var(--border);background:rgba(168,85,247,.08);
    color:var(--purple-light);font-size:23px;margin-bottom:28px;
}
.tool-card h2{font-size:21px;margin:0 0 10px}
.tool-card p{color:var(--muted);font-size:14px;line-height:1.6;margin:0 0 22px}
.tool-card span.go{margin-top:auto;color:var(--purple-light);font-size:13px;font-weight:650}
.panel{
    border:1px solid var(--border);background:var(--panel);border-radius:24px;
    box-shadow:0 20px 70px rgba(0,0,0,.28);backdrop-filter:blur(22px);
}
.login-wrap{min-height:72vh;display:grid;place-items:center}
.login-card{width:min(440px,100%);padding:30px}
.login-card h1{font-size:44px}
.label{display:block;color:var(--muted);font-size:12px;margin:23px 0 8px}
.input{
    width:100%;border:1px solid rgba(255,255,255,.08);border-radius:12px;
    background:rgba(255,255,255,.03);color:#eee;padding:13px;outline:none;
}
.button{
    display:block;width:100%;margin-top:14px;border:1px solid rgba(168,85,247,.36);
    border-radius:13px;padding:13px 16px;color:#fff;cursor:pointer;font-weight:680;
    background:linear-gradient(135deg,rgba(168,85,247,.32),rgba(126,34,206,.22));
}
.notice{margin-top:18px;padding:12px 14px;border-radius:13px;color:#fecaca;border:1px solid rgba(248,113,113,.2);background:rgba(239,68,68,.07);font-size:14px}
.footer{text-align:center;color:#5e5867;font-size:12px;padding:0 20px 30px}
@media(max-width:760px){
    .tools-grid{grid-template-columns:1fr}
    .tool-card{min-height:220px}
    .topbar{padding:18px}
    .shell{width:min(100% - 28px,1000px);margin-top:20px}
}
