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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #111;
    background: #fff;
    line-height: 1.6;
}

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

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

/* HEADER */

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.navbar {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 25px;
    font-weight: 800;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    font-size: 15px;
    font-weight: 600;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-btn {
    padding: 9px 16px;
    border: 1px solid #111;
    border-radius: 6px;
    font-size: 14px;
}

/* HERO */

.hero {
    min-height: 620px;
    display: flex;
    align-items: center;
    background: #f5f5f5;
}

.hero-content {
    max-width: 720px;
}

.hero h1 {
    font-size: clamp(42px, 7vw, 76px);
    line-height: 1.05;
    margin-bottom: 22px;
}

.hero p {
    font-size: 19px;
    color: #555;
    max-width: 620px;
    margin-bottom: 32px;
}

.btn {
    display: inline-block;
    padding: 14px 25px;
    border-radius: 7px;
    background: #111;
    color: #fff;
    font-weight: 700;
    border: 1px solid #111;
}

.btn-outline {
    background: transparent;
    color: #111;
    margin-left: 10px;
}

/* SECTIONS */

section {
    padding: 80px 0;
}

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

.section-title h2 {
    font-size: 38px;
    margin-bottom: 10px;
}

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

/* CATEGORIES */

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

.category {
    min-height: 180px;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 12px;
    display: flex;
    align-items: end;
    background: #fafafa;
}

.category h3 {
    font-size: 24px;
}

/* PRODUCTS */

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

.product-card {
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

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

.product-info {
    padding: 18px;
}

.product-info h3 {
    margin-bottom: 7px;
}

.price {
    font-weight: 800;
    margin-bottom: 14px;
}

/* ABOUT */

.about {
    background: #f6f6f6;
}

.about-content {
    max-width: 850px;
    margin: auto;
    text-align: center;
}

.about-content p {
    color: #555;
    font-size: 17px;
}

/* CTA */

.cta {
    text-align: center;
}

.cta h2 {
    font-size: 40px;
    margin-bottom: 15px;
}

/* FOOTER */

footer {
    background: #111;
    color: #fff;
    padding: 55px 0 25px;
}

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

.footer-grid h3 {
    margin-bottom: 15px;
}

.footer-grid p,
.footer-grid a {
    color: #bbb;
    font-size: 14px;
}

.footer-grid a {
    display: block;
    margin-bottom: 8px;
}

.copyright {
    border-top: 1px solid #333;
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    color: #999;
    font-size: 13px;
}

/* MOBILE */

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .hero {
        min-height: 540px;
    }

    .categories,
    .products,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

    .hero p {
        font-size: 17px;
    }

    .btn {
        width: 100%;
        text-align: center;
        margin: 5px 0;
    }

    section {
        padding: 60px 0;
    }
}
