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

body {
    font-family: "Inter", sans-serif;
    background: #f7f8fc;
    color: #222;
    line-height: 1.6;
}

header {
    width: 100%;
    height: 75px;
    padding: 0 60px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    background: white;
    box-shadow: 0 5px 25px rgba(0,0,0,.05);

    position: sticky;
    top: 0;
    z-index: 1000;
}

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

nav {
    display: flex;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: #444;
    font-weight: 600;
    transition: .3s;
}

nav a:hover {
    color: #4f46e5;
}

#themeButton {
    width: 45px;
    height: 45px;

    border: none;
    border-radius: 12px;

    cursor: pointer;
    background: #eef1ff;

    font-size: 20px;
}

.hero{
    max-width:1200px;
    margin:80px auto;
    padding:30px;
    text-align:center;
}

.hero h1{
    font-size:68px;
    line-height:1.1;
    margin:25px 0;
    font-weight:800;
}

.hero h1 span{
    color:#4f46e5;
}

.hero p{
    font-size:22px;
    color:#666;
    max-width:750px;
    margin:0 auto 40px;
}

.searchBox {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.searchBox input {
    width: 500px;
    padding: 18px;

    border-radius: 14px;
    border: 2px solid #ddd;

    font-size: 18px;
}

.searchBox button {
    padding: 18px 30px;

    border: none;
    border-radius: 14px;

    background: #4f46e5;
    color: white;

    cursor: pointer;
    font-size: 17px;
    font-weight: bold;
}

.popular {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px 100px;
}

.popular h2 {
    margin-bottom: 30px;
    font-size: 36px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
    gap: 25px;
}

.card{
    background:white;
    border-radius:22px;
    padding:28px;
    box-shadow:0 12px 35px rgba(0,0,0,.08);
    transition:.3s;
    cursor:pointer;
    border:1px solid #eee;
    position:relative;
    overflow:hidden;
}

.card:hover{
    transform:translateY(-10px);
    box-shadow:0 25px 60px rgba(79,70,229,.18);
}

.card h3 {
    margin-bottom: 10px;
    color: #4f46e5;
}

footer {
    text-align: center;
    padding: 40px;
    background: white;
    color: #666;
}
.categories{
    max-width:1200px;
    margin:0 auto 60px;
    padding:0 20px;
}

.categories h2{
    font-size:36px;
    margin-bottom:25px;
}

.categoryGrid{
    display:flex;
    flex-wrap:wrap;
    gap:15px;
}

.category{
    padding:14px 22px;
    border:none;
    border-radius:999px;
    background:white;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
    cursor:pointer;
    font-size:16px;
    font-weight:600;
    transition:.25s;
}

.category:hover{
    transform:translateY(-3px);
}

.category.active{
    background:#4f46e5;
    color:white;
}
.badge{
    display:inline-block;
    background:#eef2ff;
    color:#4f46e5;
    padding:10px 18px;
    border-radius:999px;
    font-weight:700;
}

.stats{
    margin-top:50px;
    display:flex;
    justify-content:center;
    gap:30px;
    flex-wrap:wrap;
}

.stat{
    background:white;
    padding:25px 35px;
    border-radius:20px;
    box-shadow:0 12px 30px rgba(0,0,0,.08);
    min-width:170px;
}

.stat h2{
    font-size:38px;
    color:#4f46e5;
}

.stat p{
    margin-top:8px;
    font-size:16px;
    color:#666;
}

.card::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:5px;
    background:#4f46e5;
    transform:scaleX(0);
    transition:.3s;
}

.card:hover::before{
    transform:scaleX(1);
}

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

.card p{
    color:#666;
    line-height:1.6;
}

.card .icon{
    font-size:52px;
    margin-bottom:20px;
}
.badge{
    position:absolute;
    top:15px;
    right:15px;
    background:#4f46e5;
    color:white;
    padding:6px 12px;
    border-radius:999px;
    font-size:13px;
    font-weight:700;
    z-index:2;
}
.categories{
    display:flex;
    justify-content:center;
    gap:15px;
    flex-wrap:wrap;
    margin:50px 0;
}

.category{
    background:white;
    border:2px solid #e5e7eb;
    border-radius:999px;
    padding:12px 24px;
    cursor:pointer;
    font-weight:600;
    transition:.25s;
}

.category:hover{
    background:#4f46e5;
    color:white;
    border-color:#4f46e5;
    transform:translateY(-2px);
}

.category.active{
    background:#4f46e5;
    color:white;
    border-color:#4f46e5;
}
.featured{
    max-width:1200px;
    margin:60px auto;
    padding:0 20px;
}

.featured h2{
    margin-bottom:25px;
    font-size:36px;
}

.featuredCard{
    background:linear-gradient(135deg,#4f46e5,#6366f1);
    color:white;
    border-radius:28px;
    padding:40px;
    display:flex;
    align-items:center;
    gap:30px;
    box-shadow:0 20px 60px rgba(79,70,229,.25);
}

.featuredIcon{
    font-size:90px;
}

.featuredCard h3{
    font-size:34px;
    margin-bottom:15px;
}

.featuredCard p{
    font-size:18px;
    margin-bottom:25px;
    opacity:.95;
}

.featuredButton{
    display:inline-block;
    background:white;
    color:#4f46e5;
    text-decoration:none;
    padding:14px 24px;
    border-radius:14px;
    font-weight:700;
    transition:.25s;
}

.featuredButton:hover{
    transform:translateY(-2px);
}