* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background:
        radial-gradient(circle at top left, rgba(29,78,216,0.18), transparent 22%),
        radial-gradient(circle at bottom right, rgba(255,122,0,0.14), transparent 20%),
        #0b1220;
    color: #ffffff;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* NAVBAR */
.nav {
    width: 100%;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    position: sticky;
    top: 0;
    backdrop-filter: blur(12px);
    background: rgba(11, 18, 32, 0.75);
    z-index: 1000;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
}

.logo span {
    color: #ff7a00;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-links a {
    color: #cbd5e1;
    font-weight: 500;
    transition: 0.2s ease;
}

.nav-links a:hover {
    color: #ffffff;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 700;
    transition: 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #ff7a00, #ff9d42);
    color: #fff !important;
}

.btn-dark {
    background: #1e293b;
    color: #fff !important;
}

.btn:hover {
    transform: translateY(-1px);
    opacity: 0.98;
}

/* HERO */
.hero {
    min-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 0;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    color: #94a3b8;
    max-width: 760px;
    margin: 0 auto 32px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* SECTION */
.section {
    padding: 90px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 38px;
    margin-bottom: 12px;
}

.section-title p {
    color: #94a3b8;
    max-width: 700px;
    margin: 0 auto;
}

/* FEATURES */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    background: #121a2b;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.card h3 {
    margin-bottom: 12px;
    font-size: 22px;
}

.card p {
    color: #94a3b8;
    line-height: 1.7;
}

/* CTA */
.cta-box {
    text-align: center;
    background: #121a2b;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 50px 30px;
}

.cta-box h2 {
    font-size: 38px;
    margin-bottom: 14px;
}

.cta-box p {
    color: #94a3b8;
    margin-bottom: 24px;
}

/* FOOTER */
.footer {
    padding: 30px 0;
    text-align: center;
    color: #64748b;
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: 50px;
}

/* LOGIN PAGE */
.auth-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background: #121a2b;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 34px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.auth-logo {
    text-align: center;
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 8px;
}

.auth-logo span {
    color: #ff7a00;
}

.auth-subtitle {
    text-align: center;
    color: #94a3b8;
    margin-bottom: 24px;
}

.error-box {
    background: rgba(239,68,68,0.12);
    border: 1px solid rgba(239,68,68,0.35);
    color: #fecaca;
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 18px;
    font-size: 14px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #cbd5e1;
    font-weight: 600;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    background: #0f172a;
    color: #fff;
    outline: none;
    margin-bottom: 18px;
    font-size: 15px;
}

.form-input:focus {
    border-color: #ff7a00;
    box-shadow: 0 0 0 3px rgba(255,122,0,0.12);
}

.form-button {
    width: 100%;
    border: none;
    cursor: pointer;
}

.demo-box {
    margin-top: 18px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 14px;
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 36px;
    }

    .nav-inner {
        flex-direction: column;
        gap: 16px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

:root{
    --bg:#0b1220;
    --panel:#121a2b;
    --panel-2:#182235;
    --border:rgba(255,255,255,.08);
    --text:#f8fafc;
    --muted:#94a3b8;
    --orange:#ff7a00;
    --orange-2:#ff9d42;
    --blue:#1d4ed8;
    --blue-2:#38bdf8;
    --green:#22c55e;
    --red:#ef4444;
    --shadow:0 10px 30px rgba(0,0,0,.25);
    --radius:18px;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Inter',sans-serif;
    background:
        radial-gradient(circle at top left, rgba(29,78,216,0.16), transparent 22%),
        radial-gradient(circle at bottom right, rgba(255,122,0,0.12), transparent 18%),
        var(--bg);
    color:var(--text);
}

a{
    color:inherit;
    text-decoration:none;
}

.layout{
    display:flex;
    min-height:100vh;
}

.sidebar{
    width:270px;
    background:rgba(9,14,25,.95);
    border-right:1px solid var(--border);
    padding:26px 18px;
    position:sticky;
    top:0;
    height:100vh;
}

.brand{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:34px;
    padding:8px 10px;
}

.brand-icon{
    width:42px;
    height:42px;
    border-radius:12px;
    background:linear-gradient(135deg,var(--blue),var(--blue-2));
    display:flex;
    align-items:center;
    justify-content:center;
    color:white;
    font-weight:800;
    box-shadow:var(--shadow);
}

.brand-text{
    font-size:24px;
    font-weight:800;
    letter-spacing:-0.02em;
}

.brand-text span{
    color:var(--orange);
}

.menu-label{
    color:var(--muted);
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:0.12em;
    margin:22px 12px 10px;
}

.nav{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.nav a{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:14px 14px;
    border-radius:14px;
    color:#dbe5f3;
    transition:0.2s ease;
    border:1px solid transparent;
}

.nav a:hover,
.nav a.active{
    background:linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
    border-color:var(--border);
    transform:translateX(2px);
}

.badge{
    background:rgba(255,122,0,0.18);
    color:#ffb26b;
    font-size:12px;
    font-weight:700;
    padding:4px 8px;
    border-radius:999px;
}

.content{
    flex:1;
    padding:28px;
}

.topbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:24px;
    gap:16px;
}

.page-title h1{
    font-size:30px;
    font-weight:800;
    letter-spacing:-0.03em;
}

.page-title p{
    color:var(--muted);
    margin-top:6px;
}

.top-actions{
    display:flex;
    gap:12px;
    align-items:center;
}

.button{
    border:1px solid var(--border);
    background:var(--panel);
    color:var(--text);
    padding:12px 16px;
    border-radius:14px;
    font-weight:600;
    cursor:pointer;
    display:inline-flex;
    align-items:center;
    justify-content:center;
}

.button.primary{
    background:linear-gradient(135deg,var(--orange),var(--orange-2));
    border:none;
    color:#fff;
}

.button.approve{
    background:rgba(34,197,94,.16);
    color:#86efac;
    border-color:rgba(34,197,94,.3);
}

.button.reject{
    background:rgba(239,68,68,.16);
    color:#fca5a5;
    border-color:rgba(239,68,68,.3);
}

.button:hover{
    opacity:.95;
    transform:translateY(-1px);
}

.userbox{
    background:var(--panel);
    border:1px solid var(--border);
    padding:12px 14px;
    border-radius:14px;
    min-width:170px;
    text-align:right;
}

.userbox .name{
    font-weight:700;
}

.userbox .role{
    color:var(--muted);
    font-size:13px;
    margin-top:2px;
}

.card{
    background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    border:1px solid var(--border);
    border-radius:var(--radius);
    padding:20px;
    box-shadow:var(--shadow);
}

.panel-title{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:18px;
}

.panel-title h2{
    font-size:18px;
    font-weight:700;
}

.panel-title span{
    color:var(--muted);
    font-size:13px;
}

.status{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:7px 11px;
    border-radius:999px;
    font-size:12px;
    font-weight:700;
    text-transform:capitalize;
}

.status.active{
    background:rgba(34,197,94,.14);
    color:#78e7a1;
}

.status.pending{
    background:rgba(255,122,0,.14);
    color:#ffb26b;
}

.status.rejected{
    background:rgba(239,68,68,.14);
    color:#fca5a5;
}

.status.paused{
    background:rgba(148,163,184,.14);
    color:#cbd5e1;
}

table{
    width:100%;
    border-collapse:collapse;
}

th, td{
    padding:14px 12px;
    text-align:left;
    border-bottom:1px solid rgba(255,255,255,.06);
    font-size:14px;
}

th{
    color:var(--muted);
    font-weight:600;
}

.form-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
}

.form-grid .full{
    grid-column:1 / -1;
}

.form-label{
    display:block;
    margin-bottom:8px;
    color:#cbd5e1;
    font-size:14px;
    font-weight:600;
}

.form-input{
    width:100%;
    padding:14px 16px;
    border-radius:14px;
    border:1px solid rgba(255,255,255,.08);
    background:#0f172a;
    color:#fff;
    outline:none;
}

.form-input:focus{
    border-color:var(--orange);
    box-shadow:0 0 0 3px rgba(255,122,0,.12);
}

.success-box{
    background:rgba(34,197,94,.14);
    color:#86efac;
    border:1px solid rgba(34,197,94,.3);
    padding:12px 14px;
    border-radius:12px;
    margin-bottom:16px;
}

.error-box{
    background:rgba(239,68,68,.12);
    color:#fecaca;
    border:1px solid rgba(239,68,68,.35);
    padding:12px 14px;
    border-radius:12px;
    margin-bottom:16px;
}

@media (max-width: 1080px){
    .layout{
        flex-direction:column;
    }

    .sidebar{
        width:100%;
        height:auto;
        position:relative;
        border-right:none;
        border-bottom:1px solid var(--border);
    }
}

@media (max-width: 800px){
    .form-grid{
        grid-template-columns:1fr;
    }

    .topbar{
        flex-direction:column;
        align-items:stretch;
    }

    .top-actions{
        flex-wrap:wrap;
    }

    .content{
        padding:18px;
    }
}