:root{
    --primary:#4f46e5;
    --secondary:#7c3aed;
    --success:#22c55e;
    --danger:#ef4444;
    --warning:#f59e0b;

    --bg:#f4f7fb;
    --surface:rgba(255,255,255,.85);
    --text:#0f172a;
    --muted:#64748b;
    --border:rgba(0,0,0,.08);

    --radius:18px;
    --shadow:0 12px 40px rgba(0,0,0,.08);

    --transition:.25s ease;
}

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:Inter,Segoe UI,Arial,sans-serif;
    background:linear-gradient(180deg,#f7f9fc,#eef3ff);
    color:var(--text);
    line-height:1.6;
}

.container{
    width:min(1180px,92%);
    margin:auto;
    padding:32px 0;
}

.navbar{
    position:sticky;
    top:0;
    backdrop-filter:blur(18px);
    background:rgba(255,255,255,.75);
    border-bottom:1px solid rgba(255,255,255,.4);
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 8%;
    z-index:999;
}

.navbar a{
    text-decoration:none;
    color:var(--text);
    font-weight:600;
    transition:var(--transition);
}

.navbar a:hover{
    color:var(--primary);
}

.card{
    background:var(--surface);
    backdrop-filter:blur(14px);
    border:1px solid rgba(255,255,255,.5);
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    padding:28px;
    transition:var(--transition);
}

.card:hover{
    transform:translateY(-6px);
    box-shadow:0 20px 50px rgba(79,70,229,.15);
}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;

    padding:12px 24px;
    border:none;
    border-radius:999px;

    background:linear-gradient(135deg,var(--primary),var(--secondary));
    color:white;
    text-decoration:none;
    cursor:pointer;
    transition:var(--transition);
    font-weight:600;
}

.btn:hover{
    transform:translateY(-2px) scale(1.02);
    box-shadow:0 12px 28px rgba(79,70,229,.35);
}

.btn-outline{
    background:white;
    color:var(--primary);
    border:2px solid var(--primary);
}

.btn-outline:hover{
    background:var(--primary);
    color:white;
}

input,
textarea,
select{
    width:100%;
    padding:14px 18px;
    border-radius:14px;
    border:1px solid var(--border);
    background:white;
    transition:var(--transition);
    outline:none;
}

input:focus,
textarea:focus,
select:focus{
    border-color:var(--primary);
    box-shadow:0 0 0 4px rgba(79,70,229,.12);
}

table{
    width:100%;
    border-collapse:collapse;
    overflow:hidden;
    border-radius:16px;
}

th{
    background:var(--primary);
    color:white;
}

th,
td{
    padding:16px;
}

tr:nth-child(even){
    background:#fafbff;
}

.badge{
    display:inline-block;
    padding:6px 12px;
    border-radius:999px;
    background:#eef2ff;
    color:var(--primary);
    font-size:.85rem;
    font-weight:600;
}

.grid{
    display:grid;
    gap:24px;
}

.grid-2{
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
}

.grid-3{
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
}

.hero{
    text-align:center;
    padding:80px 0;
}

.hero h1{
    font-size:clamp(2rem,5vw,4rem);
    margin-bottom:16px;
}

.hero p{
    color:var(--muted);
    max-width:700px;
    margin:auto;
}

.footer{
    text-align:center;
    color:var(--muted);
    padding:40px;
}

.shadow{
    box-shadow:var(--shadow);
}

.rounded{
    border-radius:var(--radius);
}

.fade-in{
    animation:fadeIn .6s ease;
}

@keyframes fadeIn{
    from{
        opacity:0;
        transform:translateY(18px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

@media(max-width:768px){

    .navbar{
        flex-direction:column;
        gap:15px;
    }

    .hero{
        padding:50px 0;
    }

}
