* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Tahoma, Arial, sans-serif;
    background: #f7f8fa;
    color: #1f2937;
    line-height: 1.8;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

button,
input {
    font-family: inherit;
}

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}


/* ================= HEADER ================= */

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;

    position: sticky;
    top: 0;

    z-index: 1000;
}

.header-content {
    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;
}

.logo-link {
    display: flex;
    align-items: center;

    gap: 8px;

    font-weight: 900;
}

.logo-image {
    width: 48px;
    height: 48px;

    object-fit: contain;

    border-radius: 8px;
}

.logo-text {
    font-size: 23px;
    font-weight: 900;

    color: #111827;
}

.main-nav {
    display: flex;
    align-items: center;

    gap: 25px;
}

.main-nav a {
    color: #374151;

    font-size: 15px;

    transition: 0.2s;
}

.main-nav a:hover {
    color: #dc2626;
}

.cart-button {
    background: #111827;
    color: #ffffff;

    padding: 8px 16px;

    border-radius: 8px;

    font-size: 14px;
}


/* ================= HERO ================= */

.hero {
    background:
        linear-gradient(
            135deg,
            #111827,
            #1f2937
        );

    color: #ffffff;

    padding: 100px 0;
}

.hero-text {
    max-width: 680px;
}

.hero-label {
    display: inline-block;

    background: rgba(220, 38, 38, 0.15);

    color: #fca5a5;

    border: 1px solid rgba(248, 113, 113, 0.3);

    padding: 5px 13px;

    border-radius: 20px;

    font-size: 13px;

    margin-bottom: 18px;
}

.hero h1 {
    font-size: 44px;

    line-height: 1.45;

    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;

    color: #d1d5db;

    margin-bottom: 30px;

    max-width: 600px;
}

.primary-button {
    display: inline-block;

    background: #dc2626;

    color: #ffffff;

    padding: 12px 25px;

    border-radius: 9px;

    font-weight: bold;

    transition: 0.2s;
}

.primary-button:hover {
    background: #b91c1c;
}


/* ================= FEATURES ================= */

.features {
    padding: 75px 0;
}

.section-title {
    text-align: center;

    margin-bottom: 40px;
}

.section-title span {
    color: #dc2626;

    font-size: 14px;

    font-weight: bold;
}

.section-title h2 {
    font-size: 30px;

    margin-top: 5px;
}

.feature-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;
}

.feature-card {
    background: #ffffff;

    padding: 28px;

    border-radius: 14px;

    border: 1px solid #e5e7eb;

    transition: 0.2s;
}

.feature-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 12px 30px
        rgba(0, 0, 0, 0.07);
}

.feature-icon {
    font-size: 28px;

    margin-bottom: 12px;
}

.feature-card h3 {
    margin-bottom: 8px;
}

.feature-card p {
    color: #6b7280;

    font-size: 14px;
}


/* ================= CTA ================= */

.home-cta {
    background: #fee2e2;

    text-align: center;

    padding: 65px 0;
}

.home-cta h2 {
    font-size: 30px;

    margin-bottom: 10px;
}

.home-cta p {
    color: #6b7280;

    margin-bottom: 22px;
}


/* ================= FOOTER ================= */

.site-footer {
    background: #111827;

    color: #ffffff;

    margin-top: 60px;
}

.footer-content {
    padding: 50px 0;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 40px;
}

.footer-column h3 {
    margin-bottom: 12px;
}

.footer-column p {
    color: #d1d5db;
}

.footer-column a {
    display: block;

    color: #d1d5db;

    margin-bottom: 6px;

    font-size: 14px;
}

.footer-column a:hover {
    color: #ffffff;
}

.copyright {
    border-top: 1px solid #374151;

    text-align: center;

    padding: 18px;

    color: #9ca3af;

    font-size: 13px;
}


/* ================= MOBILE ================= */

@media (max-width: 768px) {

    .header-content {
        flex-wrap: wrap;

        padding: 12px 0;
    }

    .main-nav {
        order: 3;

        width: 100%;

        justify-content: center;

        gap: 16px;
    }

    .main-nav a {
        font-size: 13px;
    }

    .cart-button {
        font-size: 13px;
    }

    .hero {
        padding: 70px 0;
    }

    .hero h1 {
        font-size: 31px;
    }

    .hero p {
        font-size: 16px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

}