/* Image blending and organic integration styles */

/* Remove hard edges from content images */
.content-image-group img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.content-image-group img:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
}

/* Blend hero image better */
.welcome-image--l2 img {
    border-radius: 30px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
    mask-image: radial-gradient(ellipse at center, black 60%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 60%, transparent 100%);
}

/* Soften edges for step images */
.content-image-group--l2-2 img {
    border-radius: 25px;
    position: relative;
    overflow: hidden;
}

/* Add gradient overlay to blend with background */
.content-image-group--l2-2::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 50%, rgba(255,255,255,0.1) 100%);
    pointer-events: none;
    border-radius: 25px;
}

/* Special treatment for vertical images */
.content-image-group--l2-1 img {
    mask-image: linear-gradient(to bottom, black 0%, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 80%, transparent 100%);
    border-radius: 0;
    box-shadow: none;
}

/* Add subtle background patterns to reduce boxiness */
.content-section {
    position: relative;
}

.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(110, 89, 230, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(110, 89, 230, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Ensure content stays above background pattern */
.content-section > * {
    position: relative;
    z-index: 1;
}

/* Add soft transitions between sections */
.content-section--l2-2__wrapper {
    position: relative;
    overflow: hidden;
}

.content-section--l2-2__wrapper::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.5), transparent);
    z-index: 1;
}