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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    color: #000;
    background: #fff;
}

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    padding: 24px 60px;
    border-bottom: 1px solid #eeeeee;
    background: #fff;
}

.header__container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.header__image {
    width: 120px;
    height: auto;
}

.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px 90px;
}

.hero h1 {
    font-size: 64px;
    line-height: 1.05;
    font-weight: 400;
    letter-spacing: -2px;
}

.hero h1 strong {
    font-weight: 700;
}

#perfect {
    margin-top: 24px;
    color: #b9b6b6;
    font-size: 20px;
    font-weight: 400;
}

.hero__list {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 28px;
    margin-top: 32px;
    list-style: none;
}

.hero__list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
}

.check {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #22c55e;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.categories {
    background: #f7f7f7;
    padding: 80px 20px;
}

.categories__container {
    max-width: 1200px;
    margin: 0 auto;
}

.categories h2,
.products h2 {
    font-size: 38px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -1px;
}

.categories__container > p,
.products__container > p {
    margin-top: 12px;
    color: #8c8c8c;
    font-size: 17px;
}

.categories__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.category {
    min-height: 170px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #e5e5e5;
    border-radius: 18px;
    background: #fff;
    color: #000;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.category h3 {
    font-size: 22px;
    font-weight: 600;
}

.category span {
    color: #8c8c8c;
    font-size: 15px;
}

.products {
    padding: 90px 20px;
}

.products__container {
    max-width: 1200px;
    margin: 0 auto;
}

.products__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.product {
    padding: 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    border: 1px solid #e8e8e8;
    border-radius: 18px;
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.product__category {
    color: #8c8c8c;
    font-size: 14px;
    font-weight: 500;
}

.product h3 {
    font-size: 24px;
    font-weight: 600;
}

.product p {
    color: #8c8c8c;
    font-size: 15px;
}

.product strong {
    font-size: 22px;
    font-weight: 700;
}

.product button {
    width: 100%;
    margin-top: 8px;
    padding: 13px 20px;
    border: none;
    border-radius: 10px;
    background: #000;
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.product button:hover {
    background: #222;
}

.product button:active {
    transform: scale(0.98);
}

@media (max-width: 768px) {
    .header {
        padding: 20px;
    }

    .hero {
        padding: 70px 20px;
    }

    .hero h1 {
        font-size: 44px;
    }

    #perfect {
        font-size: 17px;
    }

    .hero__list {
        flex-direction: column;
        gap: 12px;
    }

    .categories,
    .products {
        padding: 60px 20px;
    }

    .categories h2,
    .products h2 {
        font-size: 32px;
    }

    .categories__grid,
    .products__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 36px;
        letter-spacing: -1px;
    }

    .header__image {
        width: 100px;
    }

    .category,
    .product {
        padding: 22px;
    }
}