/* Featured Projects Section */
.featured-projects-section {
    padding: 120px 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.7));
    border: 1px solid rgba(0, 255, 0, 0.2);
    border-radius: 16px;
    margin: 20px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 255, 0, 0.1);
}

.featured-projects-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(0, 255, 0, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 60px;
    margin-bottom: 50px;
}

.project-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.8));
    border: 1px solid rgba(0, 255, 0, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: #00ff00;
    box-shadow: 0 15px 50px rgba(0, 255, 0, 0.25);
}

.project-image {
    position: relative;
    height: 220px;
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.1), rgba(0, 255, 0, 0.05));
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 255, 0, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-icon {
    color: #00ff00;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.project-icon svg {
    width: 32px;
    height: 32px;
    stroke: currentColor;
}

.project-status {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 255, 0, 0.9);
    color: #0B0F14;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.ai-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #00ff00, #00cc00);
    color: #0B0F14;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 255, 0, 0.3);
}

.project-content {
    padding: 24px;
}

.project-header {
    margin-bottom: 12px;
}

.project-content h3 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

.project-content p {
    color: #94A3B8;
    font-size: 0.9rem;
    margin-bottom: 16px;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.tech-tag {
    background: rgba(0, 255, 0, 0.1);
    color: #00ff00;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(0, 255, 0, 0.2);
    transition: all 0.2s ease;
}

.tech-tag.primary {
    background: rgba(0, 255, 0, 0.2);
    border-color: rgba(0, 255, 0, 0.4);
    font-weight: 600;
}

.tech-tag.ai {
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.2), rgba(0, 204, 0, 0.2));
    border-color: rgba(0, 255, 0, 0.4);
    color: #00ff00;
}

.project-actions {
    display: flex;
    gap: 12px;
}

.btn-demo, .btn-prompts {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    text-align: center;
    flex: 1;
}

.btn-demo {
    background: linear-gradient(135deg, #00ff00, #00cc00);
    color: #0B0F14;
    border: none;
}

.btn-demo:hover {
    background: linear-gradient(135deg, #00cc00, #00aa00);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 255, 0, 0.3);
}

.btn-prompts {
    background: transparent;
    color: #00ff00;
    border: 1px solid rgba(0, 255, 0, 0.3);
}

.btn-prompts:hover {
    background: rgba(0, 255, 0, 0.1);
    border-color: rgba(0, 255, 0, 0.5);
}

/* Project Filters */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.filter-btn {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(0, 255, 0, 0.2);
    color: #94A3B8;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: rgba(0, 255, 0, 0.1);
    border-color: rgba(0, 255, 0, 0.4);
    color: #00ff00;
    transform: translateY(-2px);
}

/* Animation for filtered items */
.project-card.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.project-card.visible {
    opacity: 1;
    transform: scale(1);
}

@media (max-width: 768px) {
    .featured-projects-section {
        margin: 10px;
        padding: 60px 0;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project-image {
        height: 160px;
    }
    
    .project-icon svg {
        width: 24px;
        height: 24px;
    }
}