/* ============================================
   ENHANCED SECTIONS - SUPPORT & PROJECTS
   Beautiful TP-Link inspired styling
   ============================================ */

/* ============================
   COOKIE BANNER - LIGHT THEME
   ============================ */

[data-theme="light"] .cookie-banner {
    background: rgba(255, 255, 255, 0.98) !important;
    border: 1px solid rgba(0, 172, 193, 0.15) !important;
    box-shadow: 0 -10px 40px rgba(0, 172, 193, 0.1) !important;
}

[data-theme="light"] .cookie-content p {
    color: #4a5568 !important;
}

[data-theme="light"] .cookie-content a {
    color: #00acc1 !important;
}

[data-theme="light"] .cookie-btn.decline {
    background: rgba(0, 172, 193, 0.08) !important;
    border: 1px solid rgba(0, 172, 193, 0.2) !important;
    color: #4a5568 !important;
}

[data-theme="light"] .cookie-btn.decline:hover {
    background: rgba(0, 172, 193, 0.15) !important;
}

[data-theme="light"] .cookie-btn.accept {
    background: linear-gradient(135deg, #00acc1, #26c6da) !important;
    color: #ffffff !important;
    border: none !important;
}

[data-theme="light"] .cookie-btn.accept:hover {
    box-shadow: 0 4px 15px rgba(0, 172, 193, 0.35) !important;
}

/* ============================
   POST-DELIVERY SUPPORT SECTION
   ============================ */

[data-theme="light"] .support-section {
    background: linear-gradient(180deg, rgba(0, 172, 193, 0.03) 0%, rgba(255, 255, 255, 0.5) 100%);
    padding: 4rem 2rem;
    border-radius: 24px;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
}

[data-theme="light"] .support-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 172, 193, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

[data-theme="light"] .support-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    background: linear-gradient(135deg, #1a2942 0%, #00acc1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.75rem;
}

[data-theme="light"] .support-subtitle {
    text-align: center;
    color: #5a6f88;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

[data-theme="light"] .support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

[data-theme="light"] .support-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 172, 193, 0.1);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

[data-theme="light"] .support-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00acc1, #4dd0e1, #00acc1);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

[data-theme="light"] .support-card:hover::before {
    transform: scaleX(1);
}

[data-theme="light"] .support-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0, 172, 193, 0.15);
    border-color: rgba(0, 172, 193, 0.25);
}

[data-theme="light"] .support-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, rgba(0, 172, 193, 0.1) 0%, rgba(77, 208, 225, 0.05) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: all 0.4s ease;
}

[data-theme="light"] .support-card:hover .support-icon {
    background: linear-gradient(135deg, #00acc1, #26c6da);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(0, 172, 193, 0.3);
}

[data-theme="light"] .support-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a2942;
    margin-bottom: 0.75rem;
}

[data-theme="light"] .support-card p {
    font-size: 0.9rem;
    color: #5a6f88;
    line-height: 1.6;
}

/* ============================
   PROJECTS / WHAT WE BUILD
   BEAUTIFUL REDESIGN
   ============================ */

[data-theme="light"] #projects {
    background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 50%, #f8fbff 100%);
    position: relative;
    padding: 5rem 0;
}

/* Decorative background elements */
[data-theme="light"] #projects::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 5%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 172, 193, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

[data-theme="light"] #projects::after {
    content: '';
    position: absolute;
    bottom: 15%;
    right: 5%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(38, 198, 218, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Section Title Enhancement */
[data-theme="light"] #projects .section-title {
    background: linear-gradient(135deg, #1a2942 0%, #00acc1 50%, #26c6da 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.8rem;
    margin-bottom: 0.75rem;
}

[data-theme="light"] #projects .section-subtitle {
    color: #5a6f88;
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

/* Filter Buttons - Pill Style */
[data-theme="light"] .projects-filter {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50px;
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 20px rgba(0, 172, 193, 0.08);
}

[data-theme="light"] .filter-btn {
    padding: 0.65rem 1.5rem;
    background: transparent;
    border: none;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #5a6f88;
    cursor: pointer;
    transition: all 0.3s ease;
}

[data-theme="light"] .filter-btn:hover {
    background: rgba(0, 172, 193, 0.08);
    color: #00acc1;
}

[data-theme="light"] .filter-btn.active {
    background: linear-gradient(135deg, #00acc1, #26c6da);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 172, 193, 0.35);
}

/* Project Tiles - Cards with Icons */
[data-theme="light"] .projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
}

[data-theme="light"] .project-tile {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 172, 193, 0.08);
    border-radius: 24px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Gradient accent on left side */
[data-theme="light"] .project-tile::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #00acc1, #26c6da);
    opacity: 0;
    transition: opacity 0.3s ease;
}

[data-theme="light"] .project-tile:hover::before {
    opacity: 1;
}

[data-theme="light"] .project-tile:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 172, 193, 0.12);
    border-color: rgba(0, 172, 193, 0.15);
}

/* Project Category Badge - With Icon */
[data-theme="light"] .project-category {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 1rem;
    border-radius: 25px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.25rem;
}

/* Category-specific colors with gradients */
[data-theme="light"] .project-tile[data-category="chatbot"] .project-category {
    background: linear-gradient(135deg, rgba(0, 172, 193, 0.15), rgba(38, 198, 218, 0.08));
    color: #00acc1;
    border: 1px solid rgba(0, 172, 193, 0.2);
}

[data-theme="light"] .project-tile[data-category="research"] .project-category {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(52, 211, 153, 0.08));
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

[data-theme="light"] .project-tile[data-category="threat"] .project-category,
[data-theme="light"] .project-tile[data-category="security"] .project-category {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.12), rgba(248, 113, 113, 0.06));
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

[data-theme="light"] .project-tile[data-category="llm"] .project-category,
[data-theme="light"] .project-tile[data-category="rag"] .project-category {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(167, 139, 250, 0.08));
    color: #8b5cf6;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

[data-theme="light"] .project-tile[data-category="cloud"] .project-category {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(96, 165, 250, 0.08));
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

[data-theme="light"] .project-tile[data-category="agentic"] .project-category {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(251, 191, 36, 0.08));
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

/* Project Title */
[data-theme="light"] .project-tile h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a2942;
    margin-bottom: 0.85rem;
    line-height: 1.35;
}

/* Project Description */
[data-theme="light"] .project-tile p {
    font-size: 0.9rem;
    color: #5a6f88;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Tech Tags - Beautiful Pills */
[data-theme="light"] .tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

[data-theme="light"] .tech-tags span {
    padding: 0.35rem 0.75rem;
    background: linear-gradient(135deg, rgba(0, 172, 193, 0.06), rgba(77, 208, 225, 0.03));
    border: 1px solid rgba(0, 172, 193, 0.12);
    border-radius: 20px;
    font-size: 0.75rem;
    color: #00acc1;
    font-weight: 500;
    transition: all 0.3s ease;
}

[data-theme="light"] .project-tile:hover .tech-tags span {
    background: linear-gradient(135deg, rgba(0, 172, 193, 0.12), rgba(77, 208, 225, 0.06));
    border-color: rgba(0, 172, 193, 0.2);
    transform: translateY(-2px);
}

/* Featured/Highlighted Project */
[data-theme="light"] .project-tile.highlighted,
[data-theme="light"] .project-tile:nth-child(3) {
    border: 2px solid rgba(0, 172, 193, 0.2);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(0, 172, 193, 0.02) 100%);
}

[data-theme="light"] .project-tile.highlighted::after,
[data-theme="light"] .project-tile:nth-child(3)::after {
    content: '⭐';
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1rem;
}

/* ============================
   RESPONSIVE ADJUSTMENTS
   ============================ */

@media (max-width: 1200px) {
    [data-theme="light"] .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    [data-theme="light"] .support-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    [data-theme="light"] .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    [data-theme="light"] #projects .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    [data-theme="light"] .support-grid {
        grid-template-columns: 1fr;
    }

    [data-theme="light"] .projects-grid {
        grid-template-columns: 1fr;
    }

    [data-theme="light"] .support-section {
        padding: 2rem 1.5rem;
    }

    [data-theme="light"] .projects-filter {
        padding: 0.75rem;
        border-radius: 20px;
    }

    [data-theme="light"] .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    [data-theme="light"] #projects .section-title {
        font-size: 1.8rem;
    }
}

/* ============================
   PROJECT MODAL - LIGHT THEME
   (Temporarily removed for debugging)
   ============================ */