/* Modern Features Section */
.modern-features-section {
    padding: 120px 0;
    background: linear-gradient(135deg, 
        rgba(151, 71, 255, 0.02) 0%, 
        rgba(255, 255, 255, 1) 50%, 
        rgba(151, 71, 255, 0.02) 100%);
    position: relative;
    overflow: hidden;
}

.modern-features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 80%, rgba(151, 71, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.modern-features-content {
    padding-right: 40px;
}

.modern-features-title {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 48px;
    color: #1a1a1a;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.modern-features-title span.text-gradient {
    background: linear-gradient(135deg, #9747ff 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-top: 8px;
}

.modern-features-list {
    margin-bottom: 48px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 32px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    border: 1px solid rgba(151, 71, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(151, 71, 255, 0.08);
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out calc(0.4s + var(--delay, 0s)) both;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(151, 71, 255, 0.15);
    border-color: rgba(151, 71, 255, 0.2);
}

.feature-item:nth-child(1) { --delay: 0s; }
.feature-item:nth-child(2) { --delay: 0.1s; }

/* Force icon visibility with high specificity */
.modern-features-section .feature-icon {
    width: 48px !important;
    height: 48px !important;
    background: linear-gradient(135deg, #9747ff 0%, #6366f1 100%) !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    box-shadow: 0 4px 16px rgba(151, 71, 255, 0.3) !important;
    position: relative !important;
    z-index: 1 !important;
}

.modern-features-section .feature-icon svg {
    width: 20px !important;
    height: 20px !important;
    color: white !important;
    fill: white !important;
    stroke: white !important;
    stroke-width: 2 !important;
    z-index: 2 !important;
    position: relative !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Additional icon path styling */
.modern-features-section .feature-icon svg path {
    fill: white !important;
    stroke: white !important;
    color: white !important;
}

.modern-features-section .feature-icon svg circle {
    fill: none !important;
    stroke: white !important;
    color: white !important;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #9747ff 0%, #6366f1 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(151, 71, 255, 0.3);
    position: relative;
    z-index: 1;
}

.feature-icon svg {
    width: 20px;
    height: 20px;
    color: white !important;
    fill: white !important;
    stroke: white !important;
    stroke-width: 2;
    z-index: 2;
    position: relative;
}

.feature-text {
    flex: 1;
}

.feature-text p {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.7;
    margin: 0;
    font-weight: 400;
}

.features-cta {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Features Visual */
.modern-features-visual {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.features-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-features-image {
    position: relative;
    z-index: 2;
    max-width: 420px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.main-features-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(151, 71, 255, 0.2);
    transition: all 0.3s ease;
}

.main-features-image:hover img {
    transform: scale(1.02);
    box-shadow: 0 25px 80px rgba(151, 71, 255, 0.25);
}

.image-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border: 2px solid rgba(151, 71, 255, 0.2);
    border-radius: 50%;
    animation: pulse 4s ease-out infinite;
}

.pulse-ring.delay-1 {
    animation-delay: 1.5s;
    width: 300px;
    height: 300px;
    border-color: rgba(151, 71, 255, 0.15);
}

.pulse-ring.delay-2 {
    animation-delay: 3s;
    width: 400px;
    height: 400px;
    border-color: rgba(151, 71, 255, 0.1);
}

/* Animations */
@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .modern-features-section {
        padding: 80px 0;
    }
    
    .modern-features-content {
        padding-right: 0;
        margin-bottom: 60px;
        text-align: center;
    }
    
    .modern-features-title {
        font-size: 2.5rem;
    }
    
    .modern-features-visual {
        height: 400px;
    }
    
    .feature-item {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .modern-features-title {
        font-size: 2rem;
    }
    
    .feature-item {
        padding: 20px;
        margin-bottom: 24px;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
    }
    
    .feature-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .feature-text p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .modern-features-section {
        padding: 60px 0;
    }
    
    .modern-features-title {
        font-size: 1.75rem;
        margin-bottom: 32px;
    }
    
    .feature-item {
        padding: 16px;
        gap: 16px;
    }
    
    .modern-features-visual {
        height: 300px;
    }
    
    .main-features-image {
        max-width: 300px;
    }
}
