.free-websites-hero {
    position: relative;
    min-height: 430px;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: clamp(68px, 9vw, 118px) clamp(16px, 3vw, 34px);
    color: #fff;
    text-align: center;
    background:
        radial-gradient(circle at 18% 20%, rgba(15, 159, 145, .28), transparent 34%),
        radial-gradient(circle at 86% 84%, rgba(53, 120, 212, .25), transparent 30%),
        linear-gradient(145deg, #07111f, #0b1b31 58%, #0b3f4c);
}

.free-websites-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .4;
    background-image:
        linear-gradient(rgba(129, 164, 205, .09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(129, 164, 205, .09) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, #000, transparent 86%);
}

.free-websites-hero-content {
    position: relative;
    z-index: 1;
    width: min(880px, 100%);
}

.free-websites-hero span,
.free-websites-body > span {
    display: inline-flex;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: .73rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.free-websites-hero span {
    margin-bottom: 16px;
    border: 1px solid rgba(116, 224, 212, .38);
    color: #8be8de;
    background: rgba(116, 224, 212, .08);
}

.free-websites-hero h1 {
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(2.45rem, 6vw, 4.9rem);
    line-height: 1;
    letter-spacing: -.055em;
}

.free-websites-hero p {
    max-width: 720px;
    margin: 0 auto;
    color: rgba(226, 236, 248, .8);
    font-size: clamp(1rem, 1.6vw, 1.14rem);
    line-height: 1.75;
}

.free-websites-library {
    position: relative;
    padding: clamp(60px, 8vw, 105px) clamp(16px, 3vw, 34px);
    background:
        radial-gradient(circle at 100% 0, rgba(53, 120, 212, .08), transparent 30%),
        #f5f8fc;
}

.free-websites-card {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(280px, .94fr) minmax(320px, 1.06fr);
    gap: clamp(28px, 5vw, 58px);
    align-items: center;
    padding: clamp(18px, 3vw, 30px);
    border: 1px solid #d9e5f1;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 24px 68px rgba(15, 39, 71, .12);
}

.free-websites-preview {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: #dce7f2;
    box-shadow: 0 18px 38px rgba(15, 39, 71, .16);
}

.free-websites-preview::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
}

.free-websites-preview picture,
.free-websites-preview img {
    width: 100%;
    display: block;
}

.free-websites-preview img {
    aspect-ratio: 16 / 11;
    object-fit: cover;
}

.free-websites-body > span {
    margin-bottom: 12px;
    color: #08766d;
    background: #def7f3;
}

.free-websites-body h2 {
    margin: 0 0 13px;
    color: #0b1b31;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.08;
    letter-spacing: -.04em;
}

.free-websites-body > p:not(.free-websites-note):not(.free-websites-download-count) {
    margin: 0 0 19px;
    color: #52657d;
    line-height: 1.72;
}

.free-websites-body ul {
    display: grid;
    gap: 9px;
    margin: 0 0 23px;
    padding: 0;
    list-style: none;
}

.free-websites-body li {
    position: relative;
    padding: 11px 14px 11px 39px;
    border: 1px solid #e0e9f2;
    border-radius: 11px;
    color: #23364e;
    background: #f7fafe;
    font-weight: 750;
}

.free-websites-body li::before {
    content: "✓";
    position: absolute;
    left: 14px;
    top: 50%;
    color: #0f9f91;
    font-weight: 900;
    transform: translateY(-50%);
}

.free-websites-note {
    margin: 0 0 22px;
    padding: 13px 15px;
    border: 1px solid #c7d9ed;
    border-left: 4px solid #2563a8;
    border-radius: 10px;
    color: #31506f;
    background: #f2f7fd;
    font-size: .9rem;
    font-weight: 750;
    line-height: 1.55;
}

.free-websites-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
}

.free-websites-download,
.free-websites-secondary {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 11px 19px;
    font-weight: 850;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.free-websites-download {
    border: 1px solid #0f9f91;
    color: #fff;
    background: linear-gradient(135deg, #08766d, #0f9f91);
    box-shadow: 0 9px 22px rgba(15, 159, 145, .22);
}

.free-websites-download:hover,
.free-websites-secondary:hover {
    transform: translateY(-2px);
}

.free-websites-secondary {
    border: 1px solid #c5d4e4;
    color: #174375;
    background: #fff;
}

.free-websites-download-count {
    min-height: 26px;
    margin: 14px 0 0;
    color: #60738a;
    font-size: .86rem;
    font-weight: 800;
}

.free-websites-download-count span {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding-left: 23px;
}

.free-websites-download-count span::before {
    content: "↓";
    position: absolute;
    left: 2px;
    color: #0f9f91;
    font-size: 1.1rem;
    font-weight: 900;
}

@media (max-width: 880px) {
    .free-websites-card {
        grid-template-columns: 1fr;
    }

    .free-websites-preview img {
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 520px) {
    .free-websites-hero {
        min-height: 360px;
        padding-inline: 14px;
        text-align: left;
    }

    .free-websites-hero p {
        margin-left: 0;
    }

    .free-websites-library {
        padding-inline: 14px;
    }

    .free-websites-card {
        padding: 12px;
        border-radius: 18px;
    }

    .free-websites-actions a {
        width: 100%;
    }
}

@media (min-width: 1700px) {
    .free-websites-card {
        width: min(1360px, 100%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .free-websites-download,
    .free-websites-secondary {
        transition: none !important;
    }
}
