/* Modern Features Section */

.features-modern {
    background: #ffffff;
    padding: var(--section-padding) 0;
    position: relative;
    overflow: hidden;
}

/* Background pattern removed */
.features-modern::before {
    display: none;
}

/* Section Header */
.features-header {
    text-align: center;
    margin-bottom: 60px;
}

.features-title {
    font-size: 42px;
    font-weight: 400;
    color: #202124;
    margin-bottom: 16px;
    line-height: 1.2;
}

.features-subtitle {
    font-size: 18px;
    font-weight: 400;
    color: #5f6368;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.feature-card-modern {
    background: #ffffff;
    border: 1px solid #e8eaed;
    border-radius: 8px;
    padding: 32px 24px;
    transition: all 0.3s ease;
}

.feature-card-modern:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
    border-color: #dadce0;
}

/* Feature Icon */
.feature-icon-wrapper {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8f0fe 0%, #d2e3fc 100%);
    border-radius: 12px;
    margin-bottom: 20px;
}

.feature-icon {
    font-size: 28px;
    color: #1967d2;
}

.feature-icon-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* Feature Content */
.feature-card-title {
    font-size: 20px;
    font-weight: 500;
    color: #202124;
    margin-bottom: 12px;
    line-height: 1.3;
}

.feature-card-headline {
    font-size: 16px;
    font-weight: 500;
    color: #1a73e8;
    margin-bottom: 12px;
    line-height: 1.4;
}

.feature-card-italic {
    font-size: 14px;
    font-style: italic;
    color: #5f6368;
    margin-bottom: 12px;
    line-height: 1.5;
}

.feature-card-desc {
    font-size: 14px;
    font-weight: 400;
    color: #5f6368;
    line-height: 1.6;
    margin-bottom: 16px;
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #5f6368;
    line-height: 1.5;
}

.feature-list li i {
    font-size: 16px;
    color: #1a73e8;
    margin-top: 2px;
    flex-shrink: 0;
}

.feature-list li strong {
    color: #202124;
    font-weight: 500;
}

/* Feature Image */
.feature-image-wrapper {
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.feature-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .features-modern {
        padding: var(--section-padding-sm) 0;
    }
    
    .features-title {
        font-size: 36px;
    }
    
    .features-header {
        margin-bottom: 48px;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 24px;
    }
}

@media (max-width: 767px) {
    .features-modern {
        padding: var(--section-padding-xs) 0;
    }
    
    .features-title {
        font-size: 32px;
    }
    
    .features-subtitle {
        font-size: 16px;
    }
    
    .features-header {
        margin-bottom: 40px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card-modern {
        padding: 24px 20px;
    }
}

/* ============================================
   FEATURES SECTION - Holographic Console Overrides
   (Merged from custom.css)
   ============================================ */
.features {
    padding: var(--section-padding) 0;
    /* Removed white background to let it breathe, standard sections usually transparent/white */
    background: transparent;
}

/* 1. Tab Navigation (Left Side) */
.features .nav-tabs {
    border-bottom: none;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
    justify-content: center;
}

.features .nav-item {
    margin-bottom: 0;
}

.features .nav-link {
    border: 1px solid #f3f4f6;
    background: #ffffff;
    border-radius: 12px;
    padding: 20px 25px;
    color: #4b5563;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    min-height: 140px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    width: 100%;
}

.features .nav-link i {
    font-size: 2rem;
    color: #9ca3af;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

/* Custom Icon Images (instead of Bootstrap icons) */
.features .nav-link .feature-tab-icon-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    filter: grayscale(60%) opacity(0.7);
}

.features .nav-link h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #374151;
    margin: 0;
}

/* Active State - "The Glow" */
.features .nav-link.active,
.features .nav-link:hover {
    border-color: var(--sn-primary);
    background: linear-gradient(145deg, #ffffff 0%, #f0f7ff 100%);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.2);
}

.features .nav-link.active i,
.features .nav-link:hover i {
    color: var(--sn-primary);
    transform: scale(1.1);
}

.features .nav-link.active .feature-tab-icon-img,
.features .nav-link:hover .feature-tab-icon-img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

.features .nav-link.active h4 {
    color: var(--sn-primary);
}

/* 2. Content Area */
.features .tab-content {
    background: #fdfdfe;
    border: 1px solid #f3f4f6;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.05);
}

.features h3 {
    font-size: 2rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 1rem;
}

.features .fst-italic {
    color: var(--sn-primary);
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.features ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.features ul li {
    padding: 10px 0;
    display: flex;
    align-items: start;
    gap: 12px;
    color: #4b5563;
}

.features ul li i {
    color: var(--sn-primary);
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* 3. Image Area - "Holographic Projection" */
.features .tab-pane img {
    border-radius: 12px;
    /* Make it BIGGER - removed box shadow to blend better like hero */
    box-shadow: none;
    transition: all 0.5s ease;
    /* Subtle float animation */
    animation: float-img 6s ease-in-out infinite;

    /* Force max size to fill column - MATCH HERO SIZING */
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    margin: 0 auto;

    /* HERO-STYLE SCALE: Makes it larger and more impactful */
    transform: scale(1.15);
}

/* Feature Image Blend - Matches Hero's "faded edges" style */
.feature-image-blend {
    /* Vignette / Fade Edges to Transparent - Adjusted to show more image */
    -webkit-mask-image: radial-gradient(circle at center, black 65%, transparent 95%);
    mask-image: radial-gradient(circle at center, black 65%, transparent 95%);
    /* Removed multiply blend mode for cleaner look */
}

@keyframes float-img {
    0% {
        transform: scale(1.15) translateY(0px);
    }

    50% {
        transform: scale(1.15) translateY(-10px);
    }

    100% {
        transform: scale(1.15) translateY(0px);
    }
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .features .nav-link {
        min-height: auto;
        padding: 15px;
    }

    .features .nav-link i {
        font-size: 1.5rem;
    }

    .features .nav-link h4 {
        font-size: 0.8rem;
    }

    .features .tab-content {
        padding: 20px;
    }
}
