:root{
    --bg:#0f172a;
    --card:#111827;
    --card2:#1f2937;
    --primary:#f59e0b;
    --primary2:#fbbf24;
    --text:#f8fafc;
    --muted:#cbd5e1;
    --line:rgba(255,255,255,.12);
}
*{box-sizing:border-box}
body{
    margin:0;
    font-family:Arial, Helvetica, sans-serif;
    background:#0f172a;
    color:var(--text);
}
a{text-decoration:none;color:inherit}
.container{width:min(1120px,92%);margin:auto}
.navbar{
    position:sticky;
    top:0;
    z-index:99;
    background:rgba(15,23,42,.92);
    backdrop-filter:blur(12px);
    border-bottom:1px solid var(--line);
}
.navbar-inner{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:16px 0;
}
.brand{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:20px;
    font-weight:800;
}
.logo{
    width:38px;
    height:38px;
    border-radius:12px;
    display:grid;
    place-items:center;
    background:linear-gradient(135deg,var(--primary),#ef4444);
    color:#111827;
}
.menu{
    display:flex;
    gap:14px;
    align-items:center;
    flex-wrap:wrap;
}
.menu a{
    color:var(--muted);
    font-weight:600;
    font-size:14px;
}
.menu a:hover{color:#fff}
.btn{
    display:inline-block;
    padding:12px 18px;
    border-radius:12px;
    font-weight:700;
    border:1px solid var(--line);
}
.btn-primary{
    background:linear-gradient(135deg,var(--primary),var(--primary2));
    color:#111827;
    border:none;
}
.btn-dark{
    background:rgba(255,255,255,.08);
    color:#fff;
}
.hero{
    padding:80px 0 60px;
    background:
        radial-gradient(circle at 20% 10%, rgba(245,158,11,.25), transparent 35%),
        radial-gradient(circle at 80% 20%, rgba(239,68,68,.18), transparent 30%),
        #0f172a;
}
.hero-grid{
    display:grid;
    grid-template-columns:1.1fr .9fr;
    gap:40px;
    align-items:center;
}
.badge{
    display:inline-block;
    padding:8px 12px;
    border:1px solid var(--line);
    border-radius:999px;
    color:var(--primary2);
    background:rgba(255,255,255,.06);
    font-size:14px;
    font-weight:700;
}
h1{
    font-size:52px;
    line-height:1.05;
    margin:18px 0;
}
.lead{
    color:var(--muted);
    font-size:18px;
    line-height:1.7;
    margin-bottom:28px;
}
.hero-actions{
    display:flex;
    gap:14px;
    flex-wrap:wrap;
}
.panel{
    background:rgba(17,24,39,.82);
    border:1px solid var(--line);
    border-radius:24px;
    padding:24px;
    box-shadow:0 20px 60px rgba(0,0,0,.35);
}
.stat-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
}
.stat{
    background:rgba(255,255,255,.06);
    border:1px solid var(--line);
    border-radius:18px;
    padding:18px;
}
.stat b{
    display:block;
    font-size:24px;
    color:var(--primary2);
    margin-bottom:6px;
}
.stat span{color:var(--muted);font-size:14px}
.section{padding:64px 0}
.section-title{
    text-align:center;
    margin-bottom:34px;
}
.section-title h2{
    margin:0 0 10px;
    font-size:34px;
}
.section-title p{
    margin:0;
    color:var(--muted);
}
.cards{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}
.card{
    background:rgba(255,255,255,.06);
    border:1px solid var(--line);
    border-radius:20px;
    padding:24px;
}
.card h3{margin-top:0}
.card p{color:var(--muted);line-height:1.6}
.steps{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
}
.step{
    background:rgba(255,255,255,.06);
    border:1px solid var(--line);
    border-radius:18px;
    padding:20px;
}
.step .num{
    width:34px;
    height:34px;
    border-radius:50%;
    background:var(--primary);
    color:#111827;
    display:grid;
    place-items:center;
    font-weight:800;
    margin-bottom:12px;
}
.tiers{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
}
.tier{
    border:1px solid var(--line);
    border-radius:18px;
    padding:22px;
    background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.035));
}
.tier h3{margin:0 0 10px}
.tier .percent{
    font-size:28px;
    font-weight:800;
    color:var(--primary2);
}
.footer{
    border-top:1px solid var(--line);
    padding:24px 0;
    color:var(--muted);
    text-align:center;
}
.auth-body{
    min-height:100vh;
    display:grid;
    place-items:center;
    background:
        radial-gradient(circle at top left, rgba(245,158,11,.24), transparent 30%),
        #0f172a;
}
.auth-box{
    width:min(430px,92%);
    background:rgba(17,24,39,.92);
    border:1px solid var(--line);
    border-radius:22px;
    padding:28px;
}
.auth-box input,.auth-box button,.form-control{
    width:100%;
    padding:13px;
    border-radius:12px;
    border:1px solid var(--line);
    margin:8px 0;
}
.auth-box input,.form-control{
    background:rgba(255,255,255,.08);
    color:#fff;
}
.auth-box button{
    background:var(--primary);
    color:#111827;
    font-weight:800;
    border:none;
    cursor:pointer;
}
.app-layout{
    display:grid;
    grid-template-columns:260px 1fr;
    min-height:100vh;
}
.sidebar{
    background:#0b1220;
    border-right:1px solid var(--line);
    padding:22px;
}
.sidebar a{
    display:block;
    padding:12px 14px;
    color:var(--muted);
    border-radius:12px;
    margin:5px 0;
}
.sidebar a:hover,.sidebar a.active{
    background:rgba(255,255,255,.08);
    color:#fff;
}
.content{
    padding:28px;
    background:#111827;
}
.table{
    width:100%;
    border-collapse:collapse;
    background:rgba(255,255,255,.04);
    border-radius:14px;
    overflow:hidden;
}
.table th,.table td{
    border-bottom:1px solid var(--line);
    padding:12px;
    text-align:left;
}
.alert{padding:12px 14px;border-radius:12px;margin:12px 0}
.alert-success{background:rgba(34,197,94,.16);color:#bbf7d0}
.alert-danger{background:rgba(239,68,68,.18);color:#fecaca}
@media(max-width:850px){
    .hero-grid,.cards,.steps,.tiers,.app-layout{grid-template-columns:1fr}
    h1{font-size:36px}
    .menu{display:none}
}
