/* =========================================================
   HACKER WEB SEO V5
   COMMERCIAL WEBSITE TYPES
   ========================================================= */

.hw-v5-page {
    margin: 0;
    background:
        radial-gradient(
            circle at 78% 4%,
            rgba(168,255,0,.055),
            transparent 34rem
        ),
        radial-gradient(
            circle at 8% 34%,
            rgba(48,139,255,.038),
            transparent 30rem
        ),
        #07090b;
    color: #f5f7f8;
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

.hw-v5-page * {
    box-sizing: border-box;
}

.hw-v5-shell {
    width:
        min(
            1180px,
            calc(100% - 40px)
        );
    margin: 0 auto;
}


/* HEADER */

.hw-v5-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px;
    gap: 28px;
    border-bottom:
        1px solid rgba(255,255,255,.055);
}

.hw-v5-logo {
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -.04em;
    text-decoration: none;
}

.hw-v5-logo b {
    color: #a8ff00;
}

.hw-v5-menu {
    display: flex;
    align-items: center;
    gap: 26px;
}

.hw-v5-menu a {
    color: rgba(255,255,255,.60);
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
}

.hw-v5-menu a:hover {
    color: #fff;
}

.hw-v5-start {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border:
        1px solid rgba(168,255,0,.28);
    border-radius: 999px;
    color: #a8ff00;
    font-size: 11px;
    font-weight: 850;
    text-decoration: none;
}


/* BREADCRUMBS */

.hw-v5-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding-top: 26px;
    color: rgba(255,255,255,.31);
    font-size: 12px;
    line-height: 1.5;
}

.hw-v5-breadcrumbs a {
    color: rgba(255,255,255,.51);
    text-decoration: none;
}


/* HERO */

.hw-v5-hero {
    max-width: 970px;
    padding: 90px 0 82px;
}

.hw-v5-kicker {
    display: block;
    margin-bottom: 21px;
    color: #a8ff00;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.hw-v5-hero h1 {
    margin: 0;
    max-width: 950px;
    color: #fff;
    font-size:
        clamp(
            43px,
            6.1vw,
            80px
        );
    font-weight: 760;
    line-height: .99;
    letter-spacing: -.055em;
}

.hw-v5-lead {
    max-width: 790px;
    margin: 29px 0 0;
    color: rgba(255,255,255,.63);
    font-size: 18px;
    line-height: 1.65;
}

.hw-v5-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 34px;
}

.hw-v5-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 21px;
    border:
        1px solid rgba(255,255,255,.11);
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    font-weight: 850;
    text-decoration: none;
}

.hw-v5-btn-primary {
    border-color:
        rgba(168,255,0,.34);
    background:
        rgba(168,255,0,.052);
    color: #a8ff00;
}


/* SECTIONS */

.hw-v5-section {
    padding: 72px 0;
    border-top:
        1px solid rgba(255,255,255,.06);
}

.hw-v5-section-head {
    display: grid;
    grid-template-columns:
        .72fr 1.28fr;
    gap: 50px;
    margin-bottom: 34px;
}

.hw-v5-section-label {
    color: #a8ff00;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.hw-v5-section-head h2 {
    margin: 0;
    color: #fff;
    font-size:
        clamp(
            29px,
            4vw,
            49px
        );
    line-height: 1.05;
    letter-spacing: -.04em;
}

.hw-v5-intro {
    max-width: 780px;
    margin:
        -9px 0 34px auto;
    color: rgba(255,255,255,.54);
    font-size: 15px;
    line-height: 1.7;
}


/* BENEFITS */

.hw-v5-grid {
    display: grid;
    grid-template-columns:
        repeat(
            2,
            minmax(0,1fr)
        );
    gap: 12px;
}

.hw-v5-card {
    min-width: 0;
    padding: 25px;
    border:
        1px solid rgba(255,255,255,.075);
    border-radius: 7px;
    background:
        rgba(255,255,255,.012);
}

.hw-v5-card-index {
    display: block;
    margin-bottom: 20px;
    color: rgba(168,255,0,.52);
    font-size: 11px;
    font-weight: 900;
}

.hw-v5-card h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 20px;
    font-weight: 720;
    line-height: 1.25;
}

.hw-v5-card p {
    margin: 0;
    color: rgba(255,255,255,.54);
    font-size: 14px;
    line-height: 1.65;
}


/* WEBSITE TYPES HUB */

.hw-v5-types {
    display: grid;
    grid-template-columns:
        repeat(
            3,
            minmax(0,1fr)
        );
    gap: 10px;
}

.hw-v5-type {
    display: block;
    min-height: 145px;
    padding: 21px;
    border:
        1px solid rgba(255,255,255,.075);
    border-radius: 6px;
    color: inherit;
    background:
        rgba(255,255,255,.012);
    text-decoration: none;
    transition:
        border-color .18s ease,
        transform .18s ease;
}

.hw-v5-type:hover {
    border-color:
        rgba(168,255,0,.27);
    transform:
        translateY(-2px);
}

.hw-v5-type span {
    display: block;
    margin-bottom: 17px;
    color: rgba(168,255,0,.54);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
}

.hw-v5-type strong {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-size: 17px;
    line-height: 1.3;
}

.hw-v5-type p {
    margin: 0;
    color: rgba(255,255,255,.47);
    font-size: 12px;
    line-height: 1.55;
}


/* PROCESS */

.hw-v5-process {
    display: grid;
    grid-template-columns:
        repeat(
            4,
            minmax(0,1fr)
        );
    overflow: hidden;
    border:
        1px solid rgba(255,255,255,.07);
    border-radius: 7px;
}

.hw-v5-step {
    min-height: 190px;
    padding: 23px;
    border-right:
        1px solid rgba(255,255,255,.07);
}

.hw-v5-step:last-child {
    border-right: 0;
}

.hw-v5-step span {
    display: block;
    margin-bottom: 27px;
    color: rgba(168,255,0,.50);
    font-size: 11px;
    font-weight: 900;
}

.hw-v5-step strong {
    display: block;
    margin-bottom: 9px;
    color: #fff;
    font-size: 15px;
}

.hw-v5-step p {
    margin: 0;
    color: rgba(255,255,255,.48);
    font-size: 13px;
    line-height: 1.6;
}


/* CASES */

.hw-v5-cases {
    display: grid;
    grid-template-columns:
        repeat(
            3,
            minmax(0,1fr)
        );
    gap: 12px;
}

.hw-v5-case {
    min-width: 0;
    overflow: hidden;
    border:
        1px solid rgba(255,255,255,.075);
    border-radius: 7px;
    background:
        rgba(255,255,255,.012);
}

.hw-v5-case img {
    display: block;
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    background: #101315;
}

.hw-v5-case-body {
    padding: 19px;
}

.hw-v5-case-category {
    display: block;
    margin-bottom: 7px;
    color: rgba(168,255,0,.60);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.hw-v5-case h3 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 18px;
    line-height: 1.3;
}

.hw-v5-case p {
    margin: 0 0 17px;
    color: rgba(255,255,255,.49);
    font-size: 13px;
    line-height: 1.6;
}

.hw-v5-case a {
    color: rgba(192,221,255,.85);
    font-size: 11px;
    font-weight: 850;
    text-decoration: none;
}


/* FAQ */

.hw-v5-faq {
    border-top:
        1px solid rgba(255,255,255,.07);
}

.hw-v5-faq-item {
    padding: 23px 0;
    border-bottom:
        1px solid rgba(255,255,255,.07);
}

.hw-v5-faq-item h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 17px;
    line-height: 1.4;
}

.hw-v5-faq-item p {
    max-width: 900px;
    margin: 0;
    color: rgba(255,255,255,.53);
    font-size: 14px;
    line-height: 1.7;
}


/* RELATED LINKS */

.hw-v5-related {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hw-v5-related a {
    display: inline-flex;
    align-items: center;
    min-height: 37px;
    padding: 0 13px;
    border:
        1px solid rgba(75,155,255,.15);
    border-radius: 999px;
    color: rgba(195,222,255,.82);
    font-size: 11px;
    font-weight: 750;
    text-decoration: none;
}


/* FINAL */

.hw-v5-final {
    padding: 88px 0;
    text-align: center;
}

.hw-v5-final h2 {
    max-width: 820px;
    margin: 0 auto;
    color: #fff;
    font-size:
        clamp(
            34px,
            5vw,
            62px
        );
    line-height: 1;
    letter-spacing: -.05em;
}

.hw-v5-final p {
    max-width: 670px;
    margin: 22px auto 0;
    color: rgba(255,255,255,.54);
    font-size: 15px;
    line-height: 1.7;
}

.hw-v5-final .hw-v5-actions {
    justify-content: center;
}


/* FOOTER */

.hw-v5-footer {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    padding: 36px 0;
    border-top:
        1px solid rgba(255,255,255,.06);
    color: rgba(255,255,255,.33);
    font-size: 12px;
}

.hw-v5-footer a {
    color: rgba(255,255,255,.55);
    text-decoration: none;
}


/* INJECTION INTO EXISTING SITE */

.hw-v5-types-hub {
    width:
        min(
            1180px,
            calc(100% - 40px)
        );
    margin:
        72px auto;
    padding: 31px;
    border:
        1px solid rgba(255,255,255,.07);
    border-radius: 7px;
    background:
        rgba(255,255,255,.012);
}

.hw-v5-types-hub h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 31px;
    letter-spacing: -.035em;
}

.hw-v5-types-hub > p {
    margin: 0 0 24px;
    color: rgba(255,255,255,.49);
    font-size: 14px;
    line-height: 1.6;
}

.hw-v5-types-hub-grid {
    display: grid;
    grid-template-columns:
        repeat(
            3,
            minmax(0,1fr)
        );
    gap: 9px;
}

.hw-v5-types-hub-grid a {
    display: block;
    min-height: 78px;
    padding: 16px;
    border:
        1px solid rgba(255,255,255,.07);
    border-radius: 5px;
    color: rgba(255,255,255,.82);
    font-size: 13px;
    font-weight: 750;
    line-height: 1.4;
    text-decoration: none;
}

.hw-v5-types-hub-grid a:hover {
    border-color:
        rgba(168,255,0,.23);
    color: #a8ff00;
}


.hw-v5-case-types {
    margin-top: 18px;
    padding-top: 17px;
    border-top:
        1px solid rgba(255,255,255,.06);
}

.hw-v5-case-types > span {
    display: block;
    margin-bottom: 9px;
    color: rgba(255,255,255,.42);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .1em;
}

.hw-v5-case-types div {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.hw-v5-case-types a {
    display: inline-flex;
    align-items: center;
    min-height: 31px;
    padding: 0 10px;
    border:
        1px solid rgba(168,255,0,.14);
    border-radius: 999px;
    color: rgba(205,255,125,.76);
    font-size: 10px;
    font-weight: 760;
    text-decoration: none;
}


@media (max-width: 900px) {

    .hw-v5-menu {
        display: none;
    }

    .hw-v5-section-head {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hw-v5-intro {
        margin-left: 0;
    }

    .hw-v5-types {
        grid-template-columns:
            repeat(
                2,
                minmax(0,1fr)
            );
    }

    .hw-v5-process {
        grid-template-columns:
            repeat(
                2,
                minmax(0,1fr)
            );
    }

    .hw-v5-step:nth-child(2) {
        border-right: 0;
    }

    .hw-v5-cases {
        grid-template-columns:
            repeat(
                2,
                minmax(0,1fr)
            );
    }

    .hw-v5-types-hub-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0,1fr)
            );
    }

}


@media (max-width: 620px) {

    .hw-v5-shell {
        width:
            calc(100% - 22px);
    }

    .hw-v5-header {
        min-height: 65px;
    }

    .hw-v5-start {
        min-height: 36px;
        padding: 0 12px;
        font-size: 10px;
    }

    .hw-v5-hero {
        padding: 62px 0 54px;
    }

    .hw-v5-hero h1 {
        font-size: 41px;
    }

    .hw-v5-lead {
        font-size: 15px;
    }

    .hw-v5-section {
        padding: 52px 0;
    }

    .hw-v5-grid,
    .hw-v5-types,
    .hw-v5-cases,
    .hw-v5-types-hub-grid {
        grid-template-columns: 1fr;
    }

    .hw-v5-process {
        grid-template-columns: 1fr;
    }

    .hw-v5-step {
        border-right: 0;
    }

    .hw-v5-types-hub {
        width:
            calc(100% - 20px);
        margin:
            45px auto;
        padding: 18px;
    }

    .hw-v5-footer {
        flex-direction: column;
    }

}

/* WEBHVA V5 CASE SCREENSHOT PREVIEW FIX V1 */

/*
 * Full-page screenshots can be 4,000–16,000+ px tall.
 * Cards must display only a controlled top preview.
 */

.hw-v5-case {
    overflow: hidden !important;
    min-width: 0 !important;
}

.hw-v5-case > img {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;

    height: 300px !important;
    min-height: 300px !important;
    max-height: 300px !important;

    object-fit: cover !important;
    object-position: top center !important;

    margin: 0 !important;
}

/* tablet */
@media (max-width: 1100px) {
    .hw-v5-case > img {
        height: 260px !important;
        min-height: 260px !important;
        max-height: 260px !important;
    }
}

/* mobile */
@media (max-width: 760px) {
    .hw-v5-case > img {
        height: 220px !important;
        min-height: 220px !important;
        max-height: 220px !important;
    }
}

