:root{
    --bg: #070A0F;
    --panel: rgba(255,255,255,0.05);
    --text: rgba(255,255,255,0.92);
    --muted: rgba(255,255,255,0.68);
    --faint: rgba(255,255,255,0.55);
    --border: rgba(255,255,255,0.10);
    --shadow: 0 18px 60px rgba(0,0,0,0.45);
    --radius: 18px;
    --accent: #8AE1FF;
    --accent2: #B2FFDA;
}

* { box-sizing: border-box; }
body{
    margin:0;
    background: radial-gradient(900px 500px at 20% 10%, rgba(138,225,255,0.14), transparent 55%),
                radial-gradient(700px 420px at 80% 25%, rgba(178,255,218,0.10), transparent 60%),
                var(--bg);
    color: var(--text);
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    line-height: 1.45;
}
a{ color: inherit; text-decoration: none; }
.container{ max-width: 980px; margin: 0 auto; padding: 0 20px; }

/* Topbar */
.topbar{
    position: sticky; top: 0;
    backdrop-filter: blur(10px);
    background: rgba(7,10,15,0.65);
    border-bottom: 1px solid var(--border);
    z-index: 50;
}
.topbar-inner{
    display:flex; align-items:center; justify-content:space-between;
    padding: 14px 0;
}
.brand{
    display:flex; align-items:center; gap: 10px;
    font-weight: 700; letter-spacing: 0.2px;
}
.logo{
    width: 34px; height: 34px; border-radius: 10px;
    background: linear-gradient(145deg, rgba(138,225,255,0.22), rgba(178,255,218,0.18));
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 10px 35px rgba(0,0,0,0.35);
    display:flex; align-items:center; justify-content:center;
}
.logo svg{ opacity: 0.9; }
.nav{
    display:flex; align-items:center; gap: 14px;
    color: var(--muted);
    font-size: 14px;
}
.nav a{ padding: 8px 10px; border-radius: 10px; }
.nav a:hover{ background: rgba(255,255,255,0.06); color: var(--text); }

.btn{
    display:inline-flex; align-items:center; justify-content:center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.06);
    color: var(--text);
    font-weight: 600;
    font-size: 14px;
    transition: transform .12s ease, background .12s ease, border-color .12s ease;
    cursor: pointer;
    user-select: none;
}
.btn:hover{ transform: translateY(-1px); background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.16); }
.btn.primary{
    background: linear-gradient(145deg, rgba(138,225,255,0.20), rgba(178,255,218,0.14));
    border-color: rgba(138,225,255,0.28);
}
.btn.primary:hover{ border-color: rgba(138,225,255,0.42); }

/* Page */
.wrap{ padding: 48px 0 60px; }
h1{
    margin: 0 0 10px;
    font-size: 34px;
    letter-spacing: -0.4px;
}
.lead{
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 16px;
    max-width: 70ch;
}

.panel{
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(255,255,255,0.04);
    box-shadow: var(--shadow);
    padding: 18px;
}

.grid{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 14px;
}
@media (max-width: 860px){
    .grid{ grid-template-columns: 1fr; }
    .nav{ display:none; }
}

label{
    display:block;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 8px;
}
input, textarea{
    width: 100%;
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(0,0,0,0.18);
    color: var(--text);
    outline: none;
}
textarea{ min-height: 130px; resize: vertical; }
input:focus, textarea:focus{
    border-color: rgba(138,225,255,0.38);
    box-shadow: 0 0 0 4px rgba(138,225,255,0.12);
}

.note{
    margin-top: 12px;
    color: var(--faint);
    font-size: 13px;
}

footer{
    border-top: 1px solid var(--border);
    padding: 18px 0 34px;
    color: var(--faint);
    font-size: 13px;
    margin-top: 30px;
}
.footer-links{
    display:flex; gap: 12px; flex-wrap:wrap;
    color: var(--muted);
    margin-top: 10px;
}
.footer-links a{
    padding: 6px 8px;
    border-radius: 10px;
}
.footer-links a:hover{ background: rgba(255,255,255,0.06); color: var(--text); }