/* Includes/Excludes Container */
.includes-excludes-container {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Includes/Excludes Content */
.includes-excludes-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .includes-excludes-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

.includes-box,
.excludes-box {
    background: white;
    border-radius: 0;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.includes-box::before,
.excludes-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    z-index: 2;
}

.includes-box::before {
    background: var(--vibrant-primary);
}

.excludes-box::before {
    background: var(--vibrant-accent2);
}

.includes-box:hover,
.excludes-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.box-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 2rem;
    padding-bottom: 1.2rem;
    border-bottom: 2px dashed rgba(0, 0, 0, 0.08);
    position: relative;
    text-align: center;
}

.includes-box .box-title {
    color: var(--vibrant-dark);
}

.excludes-box .box-title {
    color: var(--vibrant-accent2);
}

.box-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.includes-box .box-title::after {
    background: var(--vibrant-accent);
}

.excludes-box .box-title::after {
    background: var(--vibrant-accent2);
}

.includes-box:hover .box-title::after,
.excludes-box:hover .box-title::after {
    width: 120px;
}

.features-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.feature-item {
    padding: 1rem 0;
    display: flex;
    align-items: flex-start;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.3s ease;
    padding-left: 2.5rem;
}

.feature-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.feature-item:first-child {
    padding-top: 0;
}

.feature-item::before {
    position: absolute;
    left: 0;
    top: 1rem;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 0.8rem;
}

.feature-item:first-child::before {
    top: 0;
}

.includes-box .feature-item::before {
    content: "\f00c";
    background: rgba(255, 177, 0, 0.1);
    color: var(--vibrant-accent);
}

.excludes-box .feature-item::before {
    content: "\f00d";
    background: rgba(255, 107, 107, 0.1);
    color: var(--vibrant-accent2);
}

.feature-item:hover {
    transform: translateX(8px);
}

.includes-box .feature-item:hover::before {
    background: var(--vibrant-accent);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 177, 0, 0.2);
}

.excludes-box .feature-item:hover::before {
    background: var(--vibrant-accent2);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.2);
}

.feature-text {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.8;
    flex-grow: 1;
    font-family: var(--font-body);
    transition: color 0.3s ease;
}

.feature-item:hover .feature-text {
    color: #333;
}

/* Box decorative elements */
.includes-box::after,
.excludes-box::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    opacity: 0.04;
    z-index: -1;
}

.includes-box::after {
    bottom: -100px;
    right: -100px;
    background: var(--vibrant-accent);
}

.excludes-box::after {
    bottom: -100px;
    right: -100px;
    background: var(--vibrant-accent2);
}

/* Corner icon */
.box-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    opacity: 0.15;
    z-index: 2;
}

.includes-box .box-icon {
    color: var(--vibrant-accent);
    background: rgba(255, 177, 0, 0.1);
}

.excludes-box .box-icon {
    color: var(--vibrant-accent2);
}

/* Animation for boxes */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.includes-box {
    animation: fadeSlideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.15s;
    opacity: 0;
}

.excludes-box {
    animation: fadeSlideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

/* Animation for feature items */
@keyframes fadeSlideRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.feature-item {
    opacity: 0;
    animation: fadeSlideRight 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.includes-box .feature-item:nth-child(1) { animation-delay: 0.4s; }
.includes-box .feature-item:nth-child(2) { animation-delay: 0.5s; }
.includes-box .feature-item:nth-child(3) { animation-delay: 0.6s; }
.includes-box .feature-item:nth-child(4) { animation-delay: 0.7s; }
.includes-box .feature-item:nth-child(5) { animation-delay: 0.8s; }

.excludes-box .feature-item:nth-child(1) { animation-delay: 0.5s; }
.excludes-box .feature-item:nth-child(2) { animation-delay: 0.6s; }
.excludes-box .feature-item:nth-child(3) { animation-delay: 0.7s; }
.excludes-box .feature-item:nth-child(4) { animation-delay: 0.8s; }
.excludes-box .feature-item:nth-child(5) { animation-delay: 0.9s; }

/* Disable hover effects while scrolling */
body.is-scrolling .includes-box:hover,
body.is-scrolling .excludes-box:hover,
body.is-scrolling .feature-item:hover {
    transform: none;
    box-shadow: inherit;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .includes-excludes-content {
        gap: 2rem;
    }
    
    .includes-box,
    .excludes-box {
        padding: 2rem;
    }
    
    .box-title {
        font-size: 1.6rem;
        margin-bottom: 1.75rem;
        padding-bottom: 1rem;
    }
    
    .feature-text {
        font-size: 1rem;
    }
    
    .box-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}
