/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #f5f5f7;
    color: #1d1d1f;
    line-height: 1.5;
}

/* Typography */
h1 {
    font-size: 48px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 40px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 28px;
    font-weight: 500;
    letter-spacing: -0.01em;
}

p {
    font-size: 17px;
    color: #86868b;
}

/* Layout */
.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
nav {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 44px;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
}

.nav-links a {
    color: #f5f5f7;
    text-decoration: none;
    font-size: 14px;
    padding: 0 15px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 1;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

/* Hero section */
.hero {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 120px 20px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.hero h1 {
    margin-bottom: 20px;
}

.hero p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    font-size: 21px;
}

.btn {
    display: inline-block;
    background-color: #0071e3;
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn:hover {
    background-color: #0077ed;
    transform: scale(1.02);
}

/* Categories section */
.categories {
    padding: 100px 0;
    text-align: center;
}

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

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

.category-card {
    background-color: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s, box-shadow 0.3s;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.category-image {
    height: 220px;
    background-color: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-content {
    padding: 25px;
    text-align: left;
}

.category-content h3 {
    margin-bottom: 10px;
}

/* Featured products section */
.featured {
    padding: 100px 0;
    background-color: #fff;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}

.product-details {
    padding: 20px;
    background-color: #fff;
}

.product-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
}

.product-price {
    font-size: 17px;
    font-weight: 600;
    color: #1d1d1f;
}

/* Banner section */
.banner {
    background: linear-gradient(120deg, #1d1d1f, #313133);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.banner-content {
    max-width: 700px;
    margin: 0 auto;
}

.banner h2 {
    margin-bottom: 20px;
}

.banner p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

/* Footer */
footer {
    background-color: #f5f5f7;
    padding: 40px 0 20px;
    border-top: 1px solid #d2d2d7;
}

.footer-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-column a {
    color: #1d1d1f;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 16px;
    transition: color 0.2s;
    display: block;
    text-align: center;
}

.footer-column a:hover {
    color: #0071e3;
}

.footer-column a.active {
    color: #0071e3;
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid #d2d2d7;
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
    color: #86868b;
}

/* Responsive styles */
@media (max-width: 960px) {
    .category-grid, .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    h1 {
        font-size: 40px;
    }
    
    h2 {
        font-size: 32px;
    }
    
    .hero {
        padding: 80px 20px;
    }
}

@media (max-width: 768px) {
    .category-grid, .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-container {
        height: 60px;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background-color: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        padding: 20px 0;
        text-align: center;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        padding: 15px 0;
        display: block;
        font-size: 16px;
    }

    .mobile-menu-btn {
        display: block;
    }

    h1 {
        font-size: 32px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    h3 {
        font-size: 24px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .categories, .featured {
        padding: 60px 0;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .category-grid, .product-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 28px;
    }
    
    .btn {
        width: 100%;
        padding: 15px 20px;
    }
    
    .hero {
        padding: 60px 20px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
    
    .categories, .featured {
        padding: 50px 0;
    }
    
    .banner {
        padding: 60px 0;
    }
    
    .footer-grid {
        gap: 20px;
    }
    
    .footer-column a {
        font-size: 14px;
        padding: 8px 12px;
    }
}