/* =========================
   GLOBAL
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter',sans-serif;
    background:#f5f5f5;
    color:#111;
    overflow-x:hidden;
}

a{
    text-decoration:none;
}

img{
    width:100%;
    display:block;
}

.container{
    width:90%;
    max-width:1400px;
    margin:auto;
}

/* =========================
   HEADER
========================= */

.header{
    position:sticky;
    top:0;
    z-index:999;
    background:#262626;
    height:80px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 40px;
}

.logo{
    display:flex;
    align-items:center;
    gap:12px;
    color:#fff;
    font-weight:800;
    font-size:1.2rem;
}

.logo-icon{
    width:38px;
    height:38px;
    border-radius:50%;
    background:#111;
    display:flex;
    align-items:center;
    justify-content:center;
}

.navbar{
    display:flex;
    align-items:center;
    gap:30px;
}

.navbar a{
    color:#bdbdbd;
    font-size:.85rem;
    font-weight:700;
    transition:.3s;
}

.navbar a:hover,
.navbar .active{
    color:#fff;
}

.editor-link{
    color:#fff !important;
}

.header-right{
    display:flex;
    align-items:center;
    gap:12px;
}

.custom-order-btn{
    border:1px solid rgba(255,255,255,.2);
    color:#fff;
    padding:12px 18px;
    border-radius:30px;
    font-size:.85rem;
    font-weight:700;
    display:flex;
    align-items:center;
    gap:8px;
}

.icon-btn{
    background:none;
    border:none;
    color:#fff;
    font-size:1rem;
    cursor:pointer;
}

.ai-btn{
    border:none;
    cursor:pointer;
    background:linear-gradient(135deg,#7f00ff,#b800ff);
    color:#fff;
    padding:13px 20px;
    border-radius:30px;
    font-weight:700;
}

.mobile-menu-btn{
    display:none;
}

/* =========================
   HERO
========================= */

.hero{
    min-height:90vh;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:80px 20px;
}

.hero-badge{
    background:#111;
    color:#fff;
    padding:12px 25px;
    border-radius:999px;
    font-size:.8rem;
    letter-spacing:2px;
    font-weight:700;
    margin-bottom:35px;
}

.hero h1{
    font-size:7rem;
    font-weight:900;
    line-height:.95;
    max-width:1200px;
}

.hero h1 span{
    display:block;
    background:linear-gradient(
        90deg,
        #4d6bff,
        #3b47ff
    );
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.hero-buttons{
    display:flex;
    gap:20px;
    margin-top:50px;
}

.launch-btn{
    background:#111;
    color:#fff;
    padding:20px 30px;
    border-radius:999px;
    font-weight:800;
    display:flex;
    align-items:center;
    gap:10px;
}

.secondary-btn{
    background:#fff;
    color:#111;
    padding:20px 30px;
    border-radius:999px;
    font-weight:800;
    border:1px solid #ddd;
}

.hero-stats{
    display:flex;
    gap:80px;
    margin-top:80px;
}

.stat-item{
    display:flex;
    align-items:center;
    gap:12px;
}

.stat-item i{
    font-size:2rem;
}

.stat-item h3{
    font-size:2.4rem;
    font-weight:900;
}

.stat-item p{
    font-size:.75rem;
    letter-spacing:2px;
    color:#777;
    font-weight:700;
}

/* =========================
   SECTIONS
========================= */

.section{
    padding:100px 8%;
}

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title span{
    display:inline-block;
    margin-bottom:10px;
    font-size:.8rem;
    letter-spacing:2px;
    color:#666;
    font-weight:700;
}

.section-title h2{
    font-size:3rem;
    font-weight:900;
}

.section-title p{
    margin-top:15px;
    color:#666;
}

/* =========================
   DESIGN GRID
========================= */

.design-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.design-card{
    background:#fff;
    border-radius:25px;
    overflow:hidden;
    transition:.3s;
    box-shadow:0 10px 30px rgba(0,0,0,.06);
}

.design-card:hover{
    transform:translateY(-10px);
}

.design-card img{
    height:250px;
    object-fit:cover;
}

.design-card h3{
    padding:20px;
    font-size:1.2rem;
}

/* =========================
   CATEGORIES
========================= */

.category-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
    gap:20px;
}

.category-card{
    background:#fff;
    padding:35px;
    text-align:center;
    border-radius:20px;
    font-weight:700;
    transition:.3s;
    cursor:pointer;
}

.category-card:hover{
    background:#4d6bff;
    color:#fff;
}

/* =========================
   PRODUCTS
========================= */

.product-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.product-card{
    background:#fff;
    border-radius:25px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,.06);
}

.product-card img{
    height:250px;
    object-fit:cover;
}

.product-card h3{
    padding:20px 20px 5px;
}

.product-card p{
    padding:0 20px 20px;
    color:#4d6bff;
    font-weight:700;
}

.product-card button{
    margin:0 20px 20px;
    width:calc(100% - 40px);
    height:50px;
    border:none;
    border-radius:12px;
    background:#111;
    color:#fff;
    cursor:pointer;
    font-weight:700;
}

/* =========================
   CTA
========================= */

.cta-section{
    padding:120px 8%;
}

.cta-content{
    background:#fff;
    border-radius:40px;
    padding:80px;
    text-align:center;
}

.cta-content span{
    font-size:.8rem;
    font-weight:700;
    letter-spacing:2px;
}

.cta-content h2{
    margin-top:15px;
    font-size:4rem;
    font-weight:900;
}

.cta-content p{
    max-width:700px;
    margin:20px auto;
    color:#666;
}

.cta-btn{
    display:inline-block;
    margin-top:20px;
    background:#111;
    color:#fff;
    padding:18px 35px;
    border-radius:999px;
    font-weight:700;
}

/* =========================
   AI SECTION
========================= */

.ai-section{
    padding:120px 8%;
}

.ai-content{
    background:linear-gradient(
        135deg,
        #7f00ff,
        #b800ff
    );
    color:#fff;
    border-radius:40px;
    text-align:center;
    padding:100px 40px;
}

.ai-content h2{
    font-size:3.5rem;
    font-weight:900;
}

.ai-content p{
    margin-top:15px;
    opacity:.9;
}

.ai-big-btn{
    margin-top:30px;
    border:none;
    background:#fff;
    color:#111;
    padding:18px 35px;
    border-radius:999px;
    font-weight:800;
    cursor:pointer;
}

/* =========================
   TESTIMONIALS
========================= */

.testimonial-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:25px;
}

.testimonial-card{
    background:#fff;
    padding:35px;
    border-radius:20px;
    box-shadow:0 10px 20px rgba(0,0,0,.05);
}

.testimonial-card p{
    color:#555;
    margin-bottom:20px;
}

.testimonial-card h4{
    font-weight:800;
}

/* =========================
   NEWSLETTER
========================= */

.newsletter{
    padding:120px 8%;
    text-align:center;
}

.newsletter h2{
    font-size:3rem;
    font-weight:900;
}

.newsletter p{
    color:#666;
    margin-top:15px;
}

.newsletter form{
    margin-top:35px;
    display:flex;
    justify-content:center;
    gap:10px;
}

.newsletter input{
    width:400px;
    height:55px;
    border:none;
    border-radius:12px;
    padding:0 20px;
}

.newsletter button{
    border:none;
    background:#111;
    color:#fff;
    padding:0 25px;
    border-radius:12px;
    cursor:pointer;
}

/* =========================
   FOOTER
========================= */

.footer{
    background:#111;
    color:#fff;
    padding:80px 8% 30px;
}

.footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1fr;
    gap:40px;
}

.footer h3,
.footer h4{
    margin-bottom:20px;
}

.footer a{
    display:block;
    color:#aaa;
    margin-bottom:10px;
}

.copyright{
    border-top:1px solid rgba(255,255,255,.08);
    margin-top:40px;
    padding-top:30px;
    text-align:center;
    color:#777;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:1100px){

    .navbar,
    .header-right{
        display:none;
    }

    .mobile-menu-btn{
        display:block;
        background:none;
        border:none;
        color:#fff;
        font-size:1.5rem;
    }

    .hero h1{
        font-size:4rem;
    }

    .hero-stats{
        flex-direction:column;
        gap:30px;
    }

    .footer-grid{
        grid-template-columns:1fr;
    }
}

@media(max-width:768px){

    .header{
        padding:0 20px;
    }

    .hero h1{
        font-size:3rem;
    }

    .hero-buttons{
        flex-direction:column;
    }

    .cta-content{
        padding:50px 25px;
    }

    .cta-content h2{
        font-size:2.5rem;
    }

    .newsletter form{
        flex-direction:column;
        align-items:center;
    }

    .newsletter input{
        width:100%;
        max-width:400px;
    }
}
/* Scroll Reveal */

.hidden{
    opacity:0;
    transform:translateY(50px);
    transition:.8s ease;
}

.show{
    opacity:1;
    transform:translateY(0);
}

/* Back To Top */

.back-to-top{
    position:fixed;
    right:25px;
    bottom:25px;
    width:55px;
    height:55px;
    border:none;
    border-radius:50%;
    background:#111;
    color:#fff;
    cursor:pointer;
    z-index:999;
    opacity:0;
    visibility:hidden;
    transition:.3s;
}

.show-top{
    opacity:1;
    visibility:visible;
}

/* Mobile Menu */

@media(max-width:1100px){

    .navbar.mobile-active{
        display:flex;
        position:absolute;
        top:80px;
        left:0;
        width:100%;
        background:#262626;
        flex-direction:column;
        padding:30px;
        gap:20px;
    }

}
/* =========================
   DESIGNS PAGE
========================= */

.page-hero{
    padding:120px 8% 80px;
    text-align:center;
}

.page-hero h1{
    font-size:4rem;
    font-weight:900;
}

.page-hero p{
    color:#666;
    margin-top:15px;
}

.search-section{
    padding:0 8% 50px;
}

.search-box{
    max-width:700px;
    margin:auto;
    background:#fff;
    border-radius:20px;
    display:flex;
    align-items:center;
    padding:0 20px;
    height:65px;
}

.search-box input{
    border:none;
    outline:none;
    width:100%;
    padding-left:15px;
    font-size:1rem;
}

.filters{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:12px;
    padding:0 8% 60px;
}

.filter-btn{
    border:none;
    background:#fff;
    padding:12px 22px;
    border-radius:999px;
    cursor:pointer;
    font-weight:600;
}

.filter-btn.active{
    background:#111;
    color:#fff;
}

.design-marketplace{
    padding:0 8% 100px;
}

.market-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.market-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,.05);
}

.market-card img{
    height:250px;
    object-fit:cover;
}

.market-content{
    padding:20px;
}

.market-content p{
    color:#777;
    margin-top:8px;
}

.card-bottom{
    margin-top:20px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.card-bottom span{
    font-weight:800;
    color:#4d6bff;
}

.card-bottom button{
    border:none;
    background:#111;
    color:#fff;
    padding:10px 18px;
    border-radius:10px;
    cursor:pointer;
}

.pagination{
    display:flex;
    justify-content:center;
    gap:10px;
    padding-bottom:100px;
}

.pagination button{
    border:none;
    background:#fff;
    padding:12px 18px;
    border-radius:10px;
    cursor:pointer;
}

.active-page{
    background:#111 !important;
    color:#fff;
}
/* =========================
   SHOP PAGE
========================= */

.shop-grid{
    padding:0 8% 100px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:30px;
}

.shop-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,.05);
    transition:.3s;
}

.shop-card:hover{
    transform:translateY(-8px);
}

.shop-card img{
    height:260px;
    object-fit:cover;
}

.shop-content{
    padding:25px;
}

.product-tag{
    background:#eef2ff;
    color:#4d6bff;
    font-size:.75rem;
    font-weight:700;
    padding:8px 12px;
    border-radius:999px;
}

.shop-content h3{
    margin-top:15px;
    margin-bottom:10px;
}

.shop-content p{
    color:#666;
    line-height:1.6;
}

.price-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:25px;
}

.price-row h4{
    font-size:1.5rem;
    color:#111;
}

.buy-btn{
    background:#111;
    color:#fff;
    padding:12px 20px;
    border-radius:10px;
    font-weight:700;
}