.hero-v5-workshop {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    background-image:
        linear-gradient(90deg, rgba(2, 8, 20, 0.97) 0%, rgba(2, 10, 24, 0.92) 20%, rgba(3, 10, 22, 0.78) 36%, rgba(4, 10, 20, 0.45) 52%, rgba(4, 10, 20, 0.16) 66%, rgba(4, 10, 20, 0.08) 100%),
        url('/static/img/workshop-background-hero-v3.png');
    background-size: cover;
    background-position: center center;
}

.hero-v5-workshop::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 12% 44%, rgba(0, 167, 255, 0.18) 0%, rgba(0, 167, 255, 0.10) 22%, transparent 42%);
    pointer-events: none;
}

.hero-v5-workshop::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 46px;
    background: linear-gradient(180deg, rgba(3, 7, 10, 0) 0%, rgba(3, 7, 10, 0.72) 68%, rgba(3, 7, 10, 0.96) 100%);
    pointer-events: none;
}

.hero-v5-inner {
    position: relative;
    z-index: 2;
    min-height: 520px;
    max-width: 1480px;
    margin: 0 auto;
    padding: 18px 44px 48px;
    display: grid;
    grid-template-columns: minmax(240px, 320px) minmax(0, 700px);
    justify-content: center;
    align-items: center;
    column-gap: clamp(24px, 4vw, 64px);
}

.hero-v5-mascot-wrap {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-v5-mascot {
    position: relative;
    z-index: 2;
    width: min(100%, 340px);
    filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.42));
}

.hero-v5-copy {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 700px;
    justify-self: start;
}

.hero-v5-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(42, 153, 255, 0.34);
    background: rgba(5, 12, 24, 0.56);
    color: #eef8ff;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.hero-v5-title {
    margin: 0 0 16px;
    color: #f4f8fb;
    font-size: clamp(2.05rem, 3.7vw, 4rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
    text-shadow: 0 10px 28px rgba(0, 0, 0, 0.42);
}

.hero-v5-title-line {
    display: block;
    width: max-content;
    max-width: 100%;
}

.hero-v5-title-line-white {
    color: #f4f8fb;
}

.hero-v5-title-line-blue {
    color: #0da6ff;
}

.hero-v5-copy p {
    max-width: 620px;
    margin: 0;
    color: rgba(248, 250, 252, 0.97);
    font-size: clamp(0.98rem, 1.1vw, 1.12rem);
    line-height: 1.58;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.34);
}

.hero-v5-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.v5-category-card img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.hero-v5-trust {
    margin-top: 24px;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(4, 11, 20, 0.48);
    box-shadow: 0 12px 30px rgba(0,0,0,0.16);
    backdrop-filter: blur(8px);
}

.hero-v5-trust span {
    color: #f4f8fb;
    font-weight: 700;
}

.home-v5-content-wrap {
    position: relative;
    z-index: 3;
    margin-top: 0;
    padding-top: 14px;
    background: #03070a;
}

.v5-home-grid,
#all-products,
.v5-footer {
    max-width: 1260px;
    margin-left: auto;
    margin-right: auto;
}

.v5-home-grid {
    position: relative;
}

.v5-title-row h2,
.v5-product-info h3,
.v5-footer strong {
    letter-spacing: -0.01em;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .55s ease, transform .55s ease;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

body.scrolled .site-header.v5-header {
    background: rgba(2, 7, 16, 0.90);
    box-shadow: 0 10px 24px rgba(0,0,0,0.22);
}

@media (max-width: 1280px) {
    .hero-v5-inner {
        grid-template-columns: minmax(210px, 280px) minmax(0, 630px);
        padding-left: 28px;
        padding-right: 28px;
        column-gap: 20px;
    }

    .hero-v5-copy {
        max-width: 630px;
    }

    .hero-v5-title {
        font-size: clamp(2rem, 3.5vw, 3.7rem);
    }
}

@media (max-width: 1080px) {
    .hero-v5-inner {
        grid-template-columns: minmax(180px, 230px) minmax(0, 560px);
    }

    .hero-v5-mascot {
        width: min(100%, 225px);
    }

    .hero-v5-copy {
        max-width: 560px;
    }

    .hero-v5-title {
        font-size: clamp(1.9rem, 3.25vw, 3.35rem);
    }
}

@media (max-width: 920px) {
    .hero-v5-workshop {
        min-height: auto;
        background-image:
            linear-gradient(180deg, rgba(2, 8, 20, 0.95) 0%, rgba(3, 10, 22, 0.78) 44%, rgba(3, 7, 10, 0.96) 100%),
            url('/static/img/workshop-background-hero-v3.png');
    }

    .hero-v5-inner {
        min-height: auto;
        display: block;
        text-align: left;
        padding: 28px 20px 36px;
    }

    .hero-v5-mascot-wrap {
        display: none;
    }

    .hero-v5-mascot {
        display: block;
        width: min(100%, 210px);
        height: auto;
    }

    .hero-v5-copy {
        max-width: 100%;
        padding-top: 8px;
    }

    .hero-v5-title-line {
        width: auto;
        max-width: none;
    }

    .hero-v5-copy p {
        max-width: 100%;
    }

    .hero-v5-trust {
        border-radius: 16px;
    }
}

@media (max-width: 640px) {
    .hero-v5-inner {
        display: block;
        padding: 18px 16px 32px;
    }

    .hero-v5-title {
        font-size: 2.35rem;
    }

    .hero-v5-mascot-wrap {
        display: none;
    }

    .hero-v5-kicker {
        font-size: 0.74rem;
        letter-spacing: 0.06em;
    }

    .hero-v5-trust {
        width: 100%;
        justify-content: flex-start;
    }

    .hero-v5-actions .btn {
        flex: 1 1 150px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll {
        transition: none;
        opacity: 1;
        transform: none;
    }
}
