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

html {
    scroll-behavior: smooth;
}

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

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

/* HEADER */

.site-header {
    height: 104px;
    padding: 0 4%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
    background: #fff;
}

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

.site-header nav {
    display: flex;
    gap: 45px;
    font-size: 18px;
    font-weight: 700;
}

.site-header nav a:hover {
    opacity: .6;
}

/* HERO */

.hero {
    min-height: 680px;
    padding: 100px 4% 90px;
    background: linear-gradient(
        120deg,
        #fff4f7 0%,
        #fff 65%
    );
}

.badge {
    display: inline-block;
    padding: 14px 28px;
    margin-bottom: 40px;
    border-radius: 40px;
    background: #ffe2eb;
    font-size: 19px;
    font-weight: 700;
}

.hero h1 {
    max-width: 1200px;
    font-size: clamp(55px, 7vw, 105px);
    line-height: .98;
    letter-spacing: -5px;
    margin-bottom: 40px;
}

.hero > p {
    max-width: 900px;
    color: #666;
    font-size: 25px;
    line-height: 1.55;
    margin-bottom: 45px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.button {
    display: inline-block;
    padding: 18px 35px;
    border-radius: 16px;
    font-size: 20px;
    font-weight: 700;
    transition: .2s;
}

.button:hover {
    transform: translateY(-2px);
}

.button.primary {
    color: #fff;
    background: #111;
}

.button.secondary {
    background: #fff;
    border: 1px solid #ddd;
}

/* SECTIONS */

.section {
    padding: 100px 4%;
    max-width: 1500px;
    margin: auto;
}

.section-heading {
    margin-bottom: 50px;
}

.section-heading span,
.about span {
    color: #e91e63;
    font-size: 17px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-heading h2 {
    margin-top: 8px;
    font-size: 55px;
    line-height: 1.05;
    letter-spacing: -2px;
}

.section-heading p {
    max-width: 700px;
    margin-top: 15px;
    color: #666;
    font-size: 20px;
}

/* CATEGORIES */

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

.category-card {
    padding: 35px;
    min-height: 210px;
    border: 1px solid #e8e8e8;
    border-radius: 24px;
    background: #fff;
    transition: .2s;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
}

.category-icon {
    font-size: 35px;
}

.category-card h3 {
    margin-top: 15px;
    font-size: 27px;
}

.category-card p {
    margin-top: 8px;
    color: #666;
}

/* ARTICLES */

.featured {
    background: #fafafa;
    max-width: none;
}

.featured > * {
    max-width: 1420px;
    margin-left: auto;
    margin-right: auto;
}

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

.article-card {
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    border: 1px solid #e8e8e8;
}

.article-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.article-content {
    padding: 28px;
}

.article-category {
    color: #e91e63;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

.article-content h3 {
    margin-top: 8px;
    font-size: 25px;
    line-height: 1.2;
}

.article-content p {
    margin-top: 12px;
    color: #666;
}

/* EMPTY STATE */

.empty-state {
    padding: 70px 30px;
    text-align: center;
    border: 1px dashed #ddd;
    border-radius: 25px;
    background: #fff;
}

.empty-icon {
    font-size: 55px;
    margin-bottom: 15px;
}

.empty-state h3 {
    font-size: 30px;
}

.empty-state p {
    max-width: 600px;
    margin: 10px auto 0;
    color: #666;
}

/* ABOUT */

.about {
    padding: 110px 4%;
    background: #171717;
    color: #fff;
}

.about > div {
    max-width: 900px;
    margin: auto;
}

.about span {
    color: #ff6b9a;
}

.about h2 {
    margin-top: 15px;
    font-size: 55px;
    line-height: 1.05;
}

.about p {
    margin-top: 25px;
    color: #bbb;
    font-size: 21px;
    max-width: 700px;
}

/* FOOTER */

footer {
    padding: 40px 4%;
    background: #111;
    color: #fff;
    text-align: center;
}

footer p {
    margin-top: 8px;
    color: #999;
}

/* MOBILE */

@media (max-width: 900px) {

    .site-header {
        height: auto;
        padding: 25px;
        gap: 20px;
        flex-direction: column;
    }

    .site-header nav {
        gap: 20px;
        font-size: 15px;
    }

    .hero {
        padding: 70px 25px;
    }

    .hero h1 {
        font-size: 55px;
        letter-spacing: -3px;
    }

    .hero > p {
        font-size: 20px;
    }

    .section {
        padding: 70px 25px;
    }

    .section-heading h2 {
        font-size: 42px;
    }

    .category-grid,
    .article-grid {
        grid-template-columns: 1fr;
    }

    .about {
        padding: 80px 25px;
    }

    .about h2 {
        font-size: 42px;
    }
}

@media (max-width: 500px) {

    .logo {
        font-size: 25px;
    }

    .site-header nav {
        flex-wrap: wrap;
        justify-content: center;
    }

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

    .badge {
        font-size: 16px;
        padding: 11px 18px;
    }

    .button {
        width: 100%;
        text-align: center;
    }
}
