/* =========================
   RESET
========================= */

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

html{
    scroll-behavior:smooth;
}

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

img{
    width:100%;
    display:block;
}

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

button{
    border:none;
    cursor:pointer;
    font-family:inherit;
}

.container{
    width:min(1200px,92%);
    margin:auto;
}

/* =========================
HEADER
========================= */

.header{
    position:fixed;
    top:0;
    width:100%;
    z-index:999;
    backdrop-filter:blur(18px);
    background:rgba(255,255,255,.85);
    border-bottom:1px solid rgba(0,0,0,.08);
}

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

.logo{
    font-size:1.7rem;
    font-weight:800;
    color:#2563eb;
    display:flex;
    gap:10px;
    align-items:center;
}

.menu{
    display:flex;
    gap:40px;
}

.menu a{
    font-weight:600;
    transition:.3s;
    position:relative;
}

.menu a:hover,
.menu .active{
    color:#2563eb;
}

.menu a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-6px;
    width:0;
    height:2px;
    background:#2563eb;
    transition:.35s;
}

.menu a:hover::after{
    width:100%;
}

.nav-icons{
    display:flex;
    align-items:center;
    gap:15px;
}

.icon-btn{
    width:45px;
    height:45px;
    border-radius:50%;
    background:white;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
    position:relative;
}

.icon-btn:hover{
    background:#2563eb;
    color:white;
    transform:translateY(-3px);
}

.cart-count{
    position:absolute;
    top:-5px;
    right:-5px;
    width:20px;
    height:20px;
    border-radius:50%;
    background:#ef4444;
    color:white;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:12px;
}

.mobile-btn{
    display:none;
    width:45px;
    height:45px;
    border-radius:50%;
    background:#2563eb;
    color:white;
}

/* =========================
MOBILE MENU
========================= */

.mobile-menu{
    display:none;
    position:fixed;
    top:78px;
    width:100%;
    background:white;
    box-shadow:0 20px 40px rgba(0,0,0,.08);
    padding:25px;
    z-index:998;
}

.mobile-menu.active{
    display:flex;
    flex-direction:column;
}

.mobile-menu a{
    padding:14px 0;
    border-bottom:1px solid #eee;
}

/* =========================
HERO
========================= */

.hero{
    padding-top:140px;
    padding-bottom:90px;
}

.hero-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:center;
    gap:60px;
}

.tag{
    display:inline-block;
    background:#dbeafe;
    color:#2563eb;
    padding:10px 18px;
    border-radius:50px;
    font-size:.9rem;
    margin-bottom:20px;
    font-weight:700;
}

.hero h1{
    font-size:3.8rem;
    line-height:1.15;
    margin-bottom:25px;
    font-weight:800;
}

.hero p{
    color:#666;
    font-size:1.08rem;
    margin-bottom:35px;
}

.hero-buttons{
    display:flex;
    gap:18px;
    margin-bottom:45px;
}

.btn{
    padding:16px 32px;
    border-radius:12px;
    font-weight:700;
    transition:.3s;
}

.primary{
    background:#2563eb;
    color:white;
}

.primary:hover{
    background:#174ac7;
}

.secondary{
    border:2px solid #2563eb;
    color:#2563eb;
}

.secondary:hover{
    background:#2563eb;
    color:white;
}

.hero-image img{
    border-radius:35px;
    box-shadow:0 30px 80px rgba(0,0,0,.15);
}

.hero-stats{
    display:flex;
    gap:45px;
}

.hero-stats h2{
    color:#2563eb;
    margin-bottom:5px;
}

/* =========================
SECTION TITLES
========================= */

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

.section-title h2{
    font-size:2.3rem;
    margin-bottom:15px;
}

.section-title p{
    color:#666;
}

/* =========================
CATEGORIES
========================= */

.categories{
    padding:80px 0;
}

.category-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.category-card{
    background:white;
    border-radius:22px;
    text-align:center;
    padding:45px 25px;
    transition:.35s;
    box-shadow:0 15px 40px rgba(0,0,0,.05);
}

.category-card:hover{
    transform:translateY(-10px);
    box-shadow:0 25px 55px rgba(0,0,0,.12);
}

.category-card i{
    font-size:3rem;
    color:#2563eb;
    margin-bottom:20px;
}

.category-card h3{
    margin-bottom:10px;
}
/* =========================
FEATURED PRODUCTS
========================= */

.featured{
    padding:80px 0;
}

.product-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}

.product-card{
    position:relative;
    background:#fff;
    border-radius:22px;
    overflow:hidden;
    box-shadow:0 15px 40px rgba(0,0,0,.06);
    transition:.35s;
}

.product-card:hover{
    transform:translateY(-10px);
    box-shadow:0 25px 60px rgba(0,0,0,.15);
}

.product-card img{
    height:260px;
    object-fit:cover;
}

.product-card h3{
    padding:20px 20px 10px;
    font-size:1.1rem;
}

.price{
    padding:0 20px;
    font-size:1.3rem;
    color:#2563eb;
    font-weight:700;
}

.product-card button{
    margin:20px;
    width:calc(100% - 40px);
    padding:14px;
    border-radius:12px;
    background:#2563eb;
    color:#fff;
    font-size:15px;
    font-weight:600;
    transition:.3s;
}

.product-card button:hover{
    background:#174ac7;
}

.badge{
    position:absolute;
    top:15px;
    left:15px;
    background:#2563eb;
    color:#fff;
    padding:6px 12px;
    border-radius:20px;
    font-size:12px;
    font-weight:700;
}

.badge.sale{
    background:#ef4444;
}

/* =========================
FEATURES
========================= */

.features{
    padding:80px 0;
    background:#fff;
}

.features .container{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}

.feature{
    text-align:center;
    padding:30px;
}

.feature i{
    width:75px;
    height:75px;
    margin:auto;
    display:flex;
    justify-content:center;
    align-items:center;
    border-radius:50%;
    background:#2563eb;
    color:#fff;
    font-size:28px;
    margin-bottom:20px;
}

.feature h3{
    margin-bottom:10px;
}

.feature p{
    color:#666;
}

/* =========================
NEWSLETTER
========================= */

.newsletter{
    padding:90px 0;
    text-align:center;
    background:linear-gradient(135deg,#2563eb,#6d28d9);
    color:#fff;
}

.newsletter h2{
    font-size:2.5rem;
    margin-bottom:15px;
}

.newsletter p{
    opacity:.9;
    margin-bottom:35px;
}

.newsletter-box{
    display:flex;
    justify-content:center;
    max-width:650px;
    margin:auto;
}

.newsletter-box input{
    flex:1;
    padding:18px;
    border:none;
    border-radius:12px 0 0 12px;
    font-size:16px;
    outline:none;
}

.newsletter-box button{
    padding:18px 30px;
    background:#111827;
    color:#fff;
    border-radius:0 12px 12px 0;
    font-weight:600;
}

.newsletter-box button:hover{
    background:#000;
}

/* =========================
FOOTER
========================= */

footer{
    background:#111827;
    color:#fff;
    padding:70px 0 25px;
}

.footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1fr;
    gap:40px;
}

.footer-grid h3,
.footer-grid h4{
    margin-bottom:18px;
}

.footer-grid p{
    color:#b5b5b5;
}

.footer-grid a{
    display:block;
    color:#b5b5b5;
    margin-bottom:12px;
    transition:.3s;
}

.footer-grid a:hover{
    color:#fff;
}

.social{
    display:flex;
    gap:15px;
    margin-top:10px;
}

.social i{
    width:42px;
    height:42px;
    border-radius:50%;
    background:#1f2937;
    display:flex;
    justify-content:center;
    align-items:center;
    cursor:pointer;
    transition:.3s;
}

.social i:hover{
    background:#2563eb;
}

.copyright{
    text-align:center;
    margin-top:50px;
    border-top:1px solid rgba(255,255,255,.1);
    padding-top:25px;
    color:#999;
}

/* =========================
ANIMATIONS
========================= */

.hero-text,
.hero-image,
.category-card,
.product-card,
.feature{
    animation:fadeUp .8s ease both;
}

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

/* =========================
SCROLLBAR
========================= */

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#f1f1f1;
}

::-webkit-scrollbar-thumb{
    background:#2563eb;
    border-radius:10px;
}

/* =========================
RESPONSIVE
========================= */

@media(max-width:992px){

.hero-grid{
    grid-template-columns:1fr;
    text-align:center;
}

.hero-buttons{
    justify-content:center;
}

.hero-stats{
    justify-content:center;
}

.category-grid,
.product-grid,
.features .container{
    grid-template-columns:repeat(2,1fr);
}

.footer-grid{
    grid-template-columns:repeat(2,1fr);
}

.menu{
    display:none;
}

.mobile-btn{
    display:flex;
    justify-content:center;
    align-items:center;
}

}

@media(max-width:768px){

.hero{
    padding-top:120px;
}

.hero h1{
    font-size:2.6rem;
}

.category-grid,
.product-grid,
.features .container,
.footer-grid{
    grid-template-columns:1fr;
}

.newsletter-box{
    flex-direction:column;
}

.newsletter-box input{
    border-radius:12px;
    margin-bottom:15px;
}

.newsletter-box button{
    border-radius:12px;
}

.hero-stats{
    flex-direction:column;
    gap:20px;
}

.section-title h2{
    font-size:2rem;
}

.logo{
    font-size:1.4rem;
}

}
