/* Skills Highlight Card - Enhanced */
.skills-highlight-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15), 0 1px 3px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.skills-highlight-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.skills-highlight-card .card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.skills-highlight-card .icon {
    font-size: 24px;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.skills-highlight-card .card-title {
    font-size: 17px;
    font-weight: 700;
    color: white;
    margin: 0;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.skill-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 9999px;
    color: #4c1d95;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(8px);
    position: relative;
}

.skill-pill::before {
    content: '▪';
    color: #667eea;
    font-size: 10px;
    margin-right: -2px;
}

.skill-pill:hover {
    background: white;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25);
    color: #667eea;
}

.show-more-btn {
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px dashed rgba(255, 255, 255, 0.5);
    border-radius: 9999px;
    color: white;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.show-more-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.05);
}

/* Benefits Highlight Card - Enhanced */
.benefits-highlight-card {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15), 0 1px 3px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.benefits-highlight-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.benefits-highlight-card .card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.benefits-highlight-card .icon {
    font-size: 24px;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.benefits-highlight-card .card-title {
    font-size: 17px;
    font-weight: 700;
    color: white;
    margin: 0;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.benefits-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.benefit-item-compact {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 9999px;
    color: #065f46;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(8px);
    position: relative;
}

.benefit-item-compact:hover {
    background: white;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
    color: #047857;
}

.check-icon {
    width: 16px;
    height: 16px;
    color: #10b981;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 2px rgba(16, 185, 129, 0.3));
}

.show-all-btn {
    margin-top: 12px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 9999px;
    color: white;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    position: relative;
    z-index: 1;
}

.show-all-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .skills-highlight-card,
    .benefits-highlight-card {
        padding: 16px;
        margin-bottom: 12px;
    }

    .skills-highlight-card .card-title,
    .benefits-highlight-card .card-title {
        font-size: 15px;
    }

    .skill-pill,
    .benefit-item-compact {
        padding: 7px 12px;
        font-size: 12px;
    }

    .check-icon {
        width: 14px;
        height: 14px;
    }

    .show-more-btn,
    .show-all-btn {
        font-size: 12px;
        padding: 7px 12px;
    }
}

/* Animation */
.skills-grid-hidden,
.benefits-grid-hidden {
    margin-top: 8px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.skills-grid-hidden.show,
.benefits-grid-hidden.show {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    opacity: 1;
    max-height: 500px;
}

/* Fade-in animation for pills on page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.skill-pill,
.benefit-item-compact {
    animation: fadeInUp 0.4s ease backwards;
}

.skill-pill:nth-child(1),
.benefit-item-compact:nth-child(1) { animation-delay: 0.05s; }
.skill-pill:nth-child(2),
.benefit-item-compact:nth-child(2) { animation-delay: 0.1s; }
.skill-pill:nth-child(3),
.benefit-item-compact:nth-child(3) { animation-delay: 0.15s; }
.skill-pill:nth-child(4),
.benefit-item-compact:nth-child(4) { animation-delay: 0.2s; }
.skill-pill:nth-child(5),
.benefit-item-compact:nth-child(5) { animation-delay: 0.25s; }
.skill-pill:nth-child(6),
.benefit-item-compact:nth-child(6) { animation-delay: 0.3s; }
